summaryrefslogtreecommitdiff
path: root/test/end.service
blob: 6e1996fd023f1d5dbc9d4f5c3d4d145b61a91f4e (plain)
1
2
3
4
5
6
7
8
9
10
[Unit]
Description=End the test
After=testsuite.service
OnFailure=poweroff.target
OnFailureJobMode=replace-irreversibly

[Service]
Type=oneshot
ExecStart=/bin/sh -x -c 'systemctl poweroff --no-block'
TimeoutStartSec=5m