diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/chassis/obmc-button-reset')
-rw-r--r-- | meta-phosphor/recipes-phosphor/chassis/obmc-button-reset/org.openbmc.buttons.reset@.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-button-reset/org.openbmc.buttons.reset@.service b/meta-phosphor/recipes-phosphor/chassis/obmc-button-reset/org.openbmc.buttons.reset@.service new file mode 100644 index 0000000000..e535e650c4 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/chassis/obmc-button-reset/org.openbmc.buttons.reset@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Phosphor Reset Button%i +Wants=mapper-wait@-org-openbmc-managers-System.service +After=mapper-wait@-org-openbmc-managers-System.service + +[Service] +Restart=always +ExecStart=/usr/bin/env button_reset.exe +SyslogIdentifier=button_reset.exe +Type=dbus +BusName={BUSNAME} + +[Install] +WantedBy={SYSTEMD_DEFAULT_TARGET} |