diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2017-02-09 15:04:03 -0600 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-15 21:43:48 +0000 |
commit | 19c78e20544777353d0081209ca6c80c48c0b101 (patch) | |
tree | 165f6a745d074503251342ad6664badbc7dd0875 /meta-phosphor | |
parent | 3c35a8c009ae5c2b093b0bbe28c48d82f345e58e (diff) | |
download | talos-openbmc-19c78e20544777353d0081209ca6c80c48c0b101.tar.gz talos-openbmc-19c78e20544777353d0081209ca6c80c48c0b101.zip |
Make op-power-start a oneshot service
oneshot will cause the target to fail, which is
what we want on service failures
Change-Id: I1c3fe7159af51e92a2d0f4a7361e5e828675515d
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service index e98d08f7e..d6c1ae43c 100644 --- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service +++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service @@ -10,6 +10,7 @@ Conflicts=obmc-power-chassis-off@%i.target [Service] RemainAfterExit=yes +Type=oneshot ExecStart={sbindir}/mapper call /org/openbmc/control/power%i org.openbmc.control.Power setPowerState i 1 [Install] |