mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
Tests can use the same testsuite.target. Add end.service to call poweroff instead of doing it from ExecStopPost where it may be skipped on failure of ExecStart.
7 lines
116 B
Desktop File
7 lines
116 B
Desktop File
[Unit]
|
|
Description=End the test
|
|
After=testsuite.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/systemctl poweroff --no-block
|