Patrick Venture | ccd06d2 | 2017-04-10 15:21:32 -0700 | [diff] [blame] | 1 | [Unit] |
2 | Description=Stop Host | ||||
3 | Requires=host-gpio.service | ||||
4 | After=host-gpio.service | ||||
5 | Conflicts=obmc-chassis-power-on@0.target | ||||
6 | |||||
7 | [Service] | ||||
8 | RemainAfterExit=yes | ||||
9 | Type=oneshot | ||||
Michael Tritz | 0ad3b1d | 2017-08-15 14:07:23 -0500 | [diff] [blame] | 10 | ExecStart=/usr/bin/env poweroff.sh |
11 | SyslogIdentifier=poweroff.sh | ||||
Patrick Venture | ccd06d2 | 2017-04-10 15:21:32 -0700 | [diff] [blame] | 12 | |
13 | [Install] | ||||
14 | WantedBy=obmc-chassis-power-off@0.target |