Run legacy services with lowest priority

The early boot of the BMC sees a lot of processes start
at the same time (right after mapper completes). The loading
of these legacy python services contributes a lot of un-needed
workload to the CPU during this time.

The eventual goal is to simply remove these services but
until that is done, ensure they run with the lowest priority.

Resolves openbmc/openbmc#2825

Change-Id: I71e14b02ec943ebe3f64e1818c4fbd7699e690bf
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service b/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service
index f57e9d8..aad06b1 100644
--- a/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service
+++ b/common/recipes-phosphor/chassis/obmc-control-chassis/org.openbmc.control.Chassis@.service
@@ -8,6 +8,8 @@
 Type=dbus
 BusName={BUSNAME}
 Environment="PYTHONUNBUFFERED=1"
+Nice=19
+TimeoutStartSec=180s
 
 [Install]
 WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service b/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service
index 4a9232b..442ed84 100644
--- a/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service
+++ b/common/recipes-phosphor/chassis/obmc-mgr-inventory/org.openbmc.Inventory.service
@@ -8,6 +8,8 @@
 Type=dbus
 BusName={BUSNAME}
 Environment="PYTHONUNBUFFERED=1"
+Nice=19
+TimeoutStartSec=180s
 
 [Install]
 WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/common/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service b/common/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service
index f3ff75d..0dc959d 100644
--- a/common/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service
+++ b/common/recipes-phosphor/flash/obmc-mgr-download/org.openbmc.managers.Download.service
@@ -8,6 +8,8 @@
 Environment="PYTHONUNBUFFERED=1"
 Type=dbus
 BusName={BUSNAME}
+Nice=19
+TimeoutStartSec=180s
 
 [Install]
 WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service b/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service
index 92f68db..b9da01e 100644
--- a/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service
+++ b/common/recipes-phosphor/sensors/obmc-mgr-sensor/org.openbmc.Sensors.service
@@ -8,6 +8,8 @@
 Type=dbus
 BusName={BUSNAME}
 Environment="PYTHONUNBUFFERED=1"
+Nice=19
+TimeoutStartSec=180s
 
 [Install]
 WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service b/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service
index b0f4a5d..fbb64d5 100644
--- a/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service
+++ b/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service
@@ -11,6 +11,8 @@
 Restart=always
 Type=dbus
 BusName={BUSNAME}
+Nice=19
+TimeoutStartSec=180s
 
 [Install]
 WantedBy={SYSTEMD_DEFAULT_TARGET}
diff --git a/common/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service b/common/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service
index b5f6b3f..b2354ab 100644
--- a/common/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service
+++ b/common/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service
@@ -10,6 +10,8 @@
 Type=dbus
 BusName={BUSNAME}
 Environment="PYTHONUNBUFFERED=1"
+Nice=19
+TimeoutStartSec=180s
 
 [Install]
 WantedBy={SYSTEMD_DEFAULT_TARGET}