mirror of
https://github.com/systemd/systemd.git
synced 2024-11-24 18:53:33 +08:00
5c404f1ab8
* remove journal flushing (systemd-journal-flush.service runs journalctl --flush on boot) * use sh -c and PATH instead of @SYSTEMCTL@ expansion * remove unnecessary semicolons etc
11 lines
219 B
Desktop File
11 lines
219 B
Desktop File
[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
|