diff options
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service b/meta-phosphor/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service new file mode 100644 index 000000000..2a07c2b28 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service @@ -0,0 +1,13 @@ +[Unit] +Description=Restore Last State +Wants=obmc-mgr-state.target +After=obmc-mgr-state.target + +[Service] +Restart=no +Type=oneshot +ExecStart={sbindir}/discover_system_state.py +Environment="PYTHONUNBUFFERED=1" + +[Install] +WantedBy={SYSTEMD_DEFAULT_TARGET} |