summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNan Li <bjlinan@cn.ibm.com>2016-01-27 10:28:34 +0800
committerPatrick Williams <patrick@stwcx.xyz>2016-06-06 11:23:11 -0500
commitd092160b0e9d325c066a8d0f3dfc5f8a3b54506f (patch)
tree32861c56d78eaa7fbb537b6afec77d8d520cdd71
parentbfcf3bf29e7fb52d8bf11aef39d244c708d008ca (diff)
downloadtalos-openbmc-d092160b0e9d325c066a8d0f3dfc5f8a3b54506f.tar.gz
talos-openbmc-d092160b0e9d325c066a8d0f3dfc5f8a3b54506f.zip
Add autostart policy for these services of the openbmc repo.
Signed-off-by: Nan Li <bjlinan@cn.ibm.com>
-rw-r--r--meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/skeleton/skeleton/skeleton.patch3
-rw-r--r--meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper/obmc-mapper.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/dbus/obmc-rest/obmc-rest.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged/btbridged.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt/host-ipmi-bt.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example/host-ipmi-hw-example.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-chassis/files/obmc-phosphor-chassisd.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/files/obmc-phosphor-event.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-pydbus/files/obmc-phosphor-example-pydbus.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-sdbus/files/obmc-phosphor-example-sdbus.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-fan/files/obmc-phosphor-fand.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-flash/files/obmc-phosphor-flashd.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-policy/files/obmc-phosphor-policyd.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-sensor/files/obmc-phosphor-sensord.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-sys/files/obmc-phosphor-sysd.service1
-rw-r--r--meta-phosphor/common/recipes-phosphor/rest-dbus/files/rest-dbus.service1
-rwxr-xr-xmeta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service1
18 files changed, 19 insertions, 1 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/skeleton/skeleton/skeleton.patch b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/skeleton/skeleton/skeleton.patch
index b4e90145a..288e68a15 100644
--- a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/skeleton/skeleton/skeleton.patch
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-phosphor/skeleton/skeleton/skeleton.patch
@@ -1,9 +1,10 @@
--- a/skeleton.service 2015-10-28 07:47:55.337712001 -0500
+++ b/skeleton.service 2015-10-28 07:34:05.277712001 -0500
-@@ -2,7 +2,7 @@
+@@ -2,8 +2,8 @@
Description=Temp placeholder for skeleton function
[Service]
+ Restart=always
-ExecStart=/usr/sbin/system_manager.py Palmetto
+ExecStart=/usr/sbin/system_manager.py Barreleye
diff --git a/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper/obmc-mapper.service b/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper/obmc-mapper.service
index 773eaa594..461b8d895 100644
--- a/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper/obmc-mapper.service
+++ b/meta-phosphor/common/recipes-phosphor/dbus/obmc-mapper/obmc-mapper.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC DBus service management daemon
[Service]
+Restart=always
Type=dbus
ExecStart=/usr/sbin/phosphor-mapper
BusName=org.openbmc.objectmapper
diff --git a/meta-phosphor/common/recipes-phosphor/dbus/obmc-rest/obmc-rest.service b/meta-phosphor/common/recipes-phosphor/dbus/obmc-rest/obmc-rest.service
index 9ef9b2142..a78c86bb9 100644
--- a/meta-phosphor/common/recipes-phosphor/dbus/obmc-rest/obmc-rest.service
+++ b/meta-phosphor/common/recipes-phosphor/dbus/obmc-rest/obmc-rest.service
@@ -4,6 +4,7 @@ Requires=obmc-mapper.service
After=obmc-mapper.service
[Service]
+Restart=always
ExecStart=/usr/sbin/obmc-rest
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged/btbridged.service b/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged/btbridged.service
index 185119ac0..ffc311078 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged/btbridged.service
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/btbridged/btbridged.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC BT to DBUS
[Service]
+Restart=always
ExecStart=/usr/sbin/btbridged
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt/host-ipmi-bt.service b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt/host-ipmi-bt.service
index dfc0416e9..3e40b4641 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt/host-ipmi-bt.service
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-bt/host-ipmi-bt.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC BT to DBUS
[Service]
+Restart=always
ExecStart=/usr/sbin/host-ipmi-bt
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example/host-ipmi-hw-example.service b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example/host-ipmi-hw-example.service
index b6baa6ffd..e15d8d71b 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example/host-ipmi-hw-example.service
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmi-hw-example/host-ipmi-hw-example.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC host IPMI to DBUS example implementation
[Service]
+Restart=always
ExecStart=/usr/sbin/host-ipmi-hw
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service
index ce96dbc9b..f882880c2 100644
--- a/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service
+++ b/meta-phosphor/common/recipes-phosphor/host-ipmid/host-ipmid/host-ipmid.service
@@ -4,6 +4,7 @@ Wants=clear-once.service
After=clear-once.service
[Service]
+Restart=always
ExecStart=/usr/sbin/ipmid
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-chassis/files/obmc-phosphor-chassisd.service b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-chassis/files/obmc-phosphor-chassisd.service
index 771151199..adb47d18f 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-chassis/files/obmc-phosphor-chassisd.service
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-chassis/files/obmc-phosphor-chassisd.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC chassis management daemon
[Service]
+Restart=always
ExecStart=/usr/sbin/obmc-phosphor-chassisd
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/files/obmc-phosphor-event.service b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/files/obmc-phosphor-event.service
index 22096291b..065cc555b 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/files/obmc-phosphor-event.service
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/files/obmc-phosphor-event.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC event management daemon
[Service]
+Restart=always
ExecStart=/usr/sbin/obmc-phosphor-eventd -s 200000 -t 128
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-pydbus/files/obmc-phosphor-example-pydbus.service b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-pydbus/files/obmc-phosphor-example-pydbus.service
index d39395f40..fbc50d328 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-pydbus/files/obmc-phosphor-example-pydbus.service
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-pydbus/files/obmc-phosphor-example-pydbus.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC QEMU application example
[Service]
+Restart=always
ExecStart=/usr/sbin/obmc-phosphor-example-pydbus
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-sdbus/files/obmc-phosphor-example-sdbus.service b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-sdbus/files/obmc-phosphor-example-sdbus.service
index dcce7326b..442e910fb 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-sdbus/files/obmc-phosphor-example-sdbus.service
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-example-sdbus/files/obmc-phosphor-example-sdbus.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC QEMU application example
[Service]
+Restart=always
ExecStart=/usr/sbin/obmc-phosphor-example-sdbus
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-fan/files/obmc-phosphor-fand.service b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-fan/files/obmc-phosphor-fand.service
index 0dc2b026a..6698e120d 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-fan/files/obmc-phosphor-fand.service
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-fan/files/obmc-phosphor-fand.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC fan management daemon
[Service]
+Restart=always
ExecStart=/usr/sbin/obmc-phosphor-fand
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-flash/files/obmc-phosphor-flashd.service b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-flash/files/obmc-phosphor-flashd.service
index 2f518f368..1b1b892cb 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-flash/files/obmc-phosphor-flashd.service
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-flash/files/obmc-phosphor-flashd.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC flash management daemon
[Service]
+Restart=always
ExecStart=/usr/sbin/obmc-phosphor-flashd
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-policy/files/obmc-phosphor-policyd.service b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-policy/files/obmc-phosphor-policyd.service
index 9a1f6fe10..3c2b13833 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-policy/files/obmc-phosphor-policyd.service
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-policy/files/obmc-phosphor-policyd.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC policy management daemon
[Service]
+Restart=always
ExecStart=/usr/sbin/obmc-phosphor-policyd
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sensor/files/obmc-phosphor-sensord.service b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sensor/files/obmc-phosphor-sensord.service
index 233ca4709..247164feb 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sensor/files/obmc-phosphor-sensord.service
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sensor/files/obmc-phosphor-sensord.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC sensor management daemon
[Service]
+Restart=always
ExecStart=/usr/sbin/obmc-phosphor-sensord
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sys/files/obmc-phosphor-sysd.service b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sys/files/obmc-phosphor-sysd.service
index d3d954dfb..3a68b68d8 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sys/files/obmc-phosphor-sysd.service
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-sys/files/obmc-phosphor-sysd.service
@@ -2,6 +2,7 @@
Description=Phosphor OpenBMC system management daemon
[Service]
+Restart=always
ExecStart=/usr/sbin/obmc-phosphor-sysd
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/rest-dbus/files/rest-dbus.service b/meta-phosphor/common/recipes-phosphor/rest-dbus/files/rest-dbus.service
index b6f9b978d..79a848a43 100644
--- a/meta-phosphor/common/recipes-phosphor/rest-dbus/files/rest-dbus.service
+++ b/meta-phosphor/common/recipes-phosphor/rest-dbus/files/rest-dbus.service
@@ -2,6 +2,7 @@
Description=DBUS introspecting REST server.
[Service]
+Restart=always
ExecStart=/usr/sbin/rest-dbus
[Install]
diff --git a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
index 53be092b6..b001abf3f 100755
--- a/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
+++ b/meta-phosphor/common/recipes-phosphor/skeleton/skeleton/skeleton.service
@@ -2,6 +2,7 @@
Description=Temp placeholder for skeleton function
[Service]
+Restart=always
ExecStart=/usr/sbin/system_manager.py Palmetto
[Install]
OpenPOWER on IntegriCloud