summaryrefslogtreecommitdiffstats
path: root/test/test.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.service.in')
-rw-r--r--test/test.service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test.service.in b/test/test.service.in
index 790c513..48c09ba 100644
--- a/test/test.service.in
+++ b/test/test.service.in
@@ -7,6 +7,9 @@ Before=getty-pre.target
[Service]
ExecStartPre=rm -f /failed /testok
+ExecStartPre=/usr/lib/systemd/tests/integration-test-setup.sh setup
ExecStart=@command@
+ExecStopPost=/usr/lib/systemd/tests/integration-test-setup.sh finalize
Type=oneshot
MemoryAccounting=@memory-accounting@
+StateDirectory=%N