blob: 9b96ce7ca3e0738cd229fc9560ad10f3d068bfc5 [file] [log] [blame]
[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