1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-27 14:03:43 +03:00
systemd-stable/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