summaryrefslogtreecommitdiffstats
path: root/meta-quanta/meta-q71l/recipes-phosphor/quanta-powerctrl/files/host-poweroff.service
blob: 9b96ce7ca3e0738cd229fc9560ad10f3d068bfc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Stop Host
Requires=host-gpio.service
After=host-gpio.service
Conflicts=obmc-chassis-power-on@0.target

[Service]
RemainAfterExit=yes
Type=oneshot
ExecStart=/usr/bin/env poweroff.sh
SyslogIdentifier=poweroff.sh

[Install]
WantedBy=obmc-chassis-power-off@0.target
OpenPOWER on IntegriCloud