summaryrefslogtreecommitdiffstats
path: root/test/testsuite-10.units
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:35:18 +0000
commitb750101eb236130cf056c675997decbac904cc49 (patch)
treea5df1a06754bdd014cb975c051c83b01c9a97532 /test/testsuite-10.units
parentInitial commit. (diff)
downloadsystemd-upstream.tar.xz
systemd-upstream.zip
Adding upstream version 252.22.upstream/252.22upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/testsuite-10.units')
-rw-r--r--test/testsuite-10.units/test10.service10
-rw-r--r--test/testsuite-10.units/test10.socket3
2 files changed, 13 insertions, 0 deletions
diff --git a/test/testsuite-10.units/test10.service b/test/testsuite-10.units/test10.service
new file mode 100644
index 0000000..fc8fad9
--- /dev/null
+++ b/test/testsuite-10.units/test10.service
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+Requires=test10.socket
+ConditionPathExistsGlob=/tmp/nonexistent
+# Make sure we hit the socket trigger limit in the test and not the service start limit.
+StartLimitInterval=1000
+StartLimitBurst=1000
+
+[Service]
+ExecStart=true
diff --git a/test/testsuite-10.units/test10.socket b/test/testsuite-10.units/test10.socket
new file mode 100644
index 0000000..af1317b
--- /dev/null
+++ b/test/testsuite-10.units/test10.socket
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Socket]
+ListenStream=/run/test.ctl