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.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test.service.in b/test/test.service.in
new file mode 100644
index 0000000..790c513
--- /dev/null
+++ b/test/test.service.in
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=%N
+Wants=basic.target network.target @wants@
+After=basic.target network.target @after@
+Before=getty-pre.target
+
+[Service]
+ExecStartPre=rm -f /failed /testok
+ExecStart=@command@
+Type=oneshot
+MemoryAccounting=@memory-accounting@