1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 00:51:24 +03:00
systemd/test/units/test-honor-first-shutdown.service

12 lines
233 B
SYSTEMD
Raw Normal View History

[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