diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2017-02-10 00:04:03 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-16 00:43:48 +0300 |
commit | 19c78e20544777353d0081209ca6c80c48c0b101 (patch) | |
tree | 165f6a745d074503251342ad6664badbc7dd0875 /meta-phosphor/common/recipes-phosphor/chassis | |
parent | 3c35a8c009ae5c2b093b0bbe28c48d82f345e58e (diff) | |
download | openbmc-19c78e20544777353d0081209ca6c80c48c0b101.tar.xz |
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/common/recipes-phosphor/chassis')
-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 e98d08f7e6..d6c1ae43c4 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] |