diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/state/files/phosphor-reset-host-running@.service')
-rw-r--r-- | meta-phosphor/recipes-phosphor/state/files/phosphor-reset-host-running@.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/state/files/phosphor-reset-host-running@.service b/meta-phosphor/recipes-phosphor/state/files/phosphor-reset-host-running@.service new file mode 100644 index 000000000..a49bbdd16 --- /dev/null +++ b/meta-phosphor/recipes-phosphor/state/files/phosphor-reset-host-running@.service @@ -0,0 +1,13 @@ +[Unit] +Description=Start host%i running after BMC reset +After=obmc-host-reset-running@%i.target +Requires=obmc-host-reset-running@%i.target +ConditionPathExists=/run/openbmc/host@%i-on + +[Service] +RemainAfterExit=no +ExecStart=/bin/systemctl start obmc-host-start@%i.target + + +[Install] +WantedBy=obmc-host-reset@%i.target |