summaryrefslogtreecommitdiffstats
path: root/test/testsuite-63.units/test63.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/testsuite-63.units/test63.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/testsuite-63.units/test63.service b/test/testsuite-63.units/test63.service
new file mode 100644
index 0000000..01a928b
--- /dev/null
+++ b/test/testsuite-63.units/test63.service
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+[Unit]
+ConditionPathExists=/tmp/nonexistent
+
+[Service]
+ExecStartPre=sh -c 'test "$TRIGGER_PATH" = /tmp/test63'
+ExecStartPre=sh -c 'test "$TRIGGER_UNIT" = test63.path'
+ExecStart=true