diff options
Diffstat (limited to 'test/testsuite-10.units')
-rw-r--r-- | test/testsuite-10.units/test10.service | 10 | ||||
-rw-r--r-- | test/testsuite-10.units/test10.socket | 3 |
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 |