summaryrefslogtreecommitdiffstats
path: root/test/testsuite-04.units
diff options
context:
space:
mode:
Diffstat (limited to 'test/testsuite-04.units')
-rw-r--r--test/testsuite-04.units/forever-print-hola.service7
-rw-r--r--test/testsuite-04.units/silent-success.service7
2 files changed, 14 insertions, 0 deletions
diff --git a/test/testsuite-04.units/forever-print-hola.service b/test/testsuite-04.units/forever-print-hola.service
new file mode 100644
index 0000000..c86b131
--- /dev/null
+++ b/test/testsuite-04.units/forever-print-hola.service
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=ForeverPrintHola service
+
+[Service]
+Type=exec
+ExecStart=sh -x -c 'while :; do printf "Hola\n" || touch /i-lose-my-logs; sleep 1; done'
diff --git a/test/testsuite-04.units/silent-success.service b/test/testsuite-04.units/silent-success.service
new file mode 100644
index 0000000..3d83f87
--- /dev/null
+++ b/test/testsuite-04.units/silent-success.service
@@ -0,0 +1,7 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Description=Silent successful service
+
+[Service]
+LogLevelMax=notice
+ExecStart=/bin/true