mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 16:21:26 +03:00
fe85f2bb9c
After this commit, only tests that were converted will work, because the interface to test_run() changed.
11 lines
218 B
Desktop File
11 lines
218 B
Desktop File
[Unit]
|
|
Description=End the test
|
|
After=testsuite.target
|
|
OnFailure=poweroff.target
|
|
OnFailureJobMode=replace-irreversibly
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/sh -x -c 'systemctl poweroff --no-block'
|
|
TimeoutStartSec=5m
|