mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-25 23:21:33 +03:00
11 lines
219 B
SYSTEMD
11 lines
219 B
SYSTEMD
|
[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
|