summaryrefslogtreecommitdiffstats
path: root/test/testsuite-52.units/test-honor-first-shutdown.service
blob: abcf578402c9d9847b51d62c21cd955bf8335054 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Honor First Shutdown feature
After=multi-user.target

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

[Install]
WantedBy=multi-user.target