blob: 9b96ce7ca3e0738cd229fc9560ad10f3d068bfc5 [file] [log] [blame]
Patrick Ventureccd06d22017-04-10 15:21:32 -07001[Unit]
2Description=Stop Host
3Requires=host-gpio.service
4After=host-gpio.service
5Conflicts=obmc-chassis-power-on@0.target
6
7[Service]
8RemainAfterExit=yes
9Type=oneshot
Michael Tritz0ad3b1d2017-08-15 14:07:23 -050010ExecStart=/usr/bin/env poweroff.sh
11SyslogIdentifier=poweroff.sh
Patrick Ventureccd06d22017-04-10 15:21:32 -070012
13[Install]
14WantedBy=obmc-chassis-power-off@0.target