summaryrefslogtreecommitdiffstats
path: root/test/units/test-honor-first-shutdown.service
blob: 3170f979e258ecb4fc3c5c0a07a04efab6487c1b (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=Honor First Shutdown feature
After=multi-user.target

[Service]
ExecStart=/usr/lib/systemd/tests/testdata/units/%N.sh
ExecStop=sh -c 'kill -KILL $MAINPID'
FailureAction=reboot

[Install]
WantedBy=multi-user.target