summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service')
-rw-r--r--meta-phosphor/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service b/meta-phosphor/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service
new file mode 100644
index 0000000000..9d1761fd85
--- /dev/null
+++ b/meta-phosphor/recipes-phosphor/system/obmc-mgr-system/org.openbmc.managers.System.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Phosphor System Manager
+Wants=obmc-mapper.target
+After=obmc-mapper.target
+
+[Service]
+Restart=always
+ExecStart=/usr/bin/env system_manager.py
+SyslogIdentifier=system_manager.py
+Type=dbus
+BusName={BUSNAME}
+Environment="PYTHONUNBUFFERED=1"
+TimeoutStartSec=180s
+
+[Install]
+WantedBy={SYSTEMD_DEFAULT_TARGET}