summaryrefslogtreecommitdiffstats
path: root/test/testsuite-28.units/specifier-j-wants.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/testsuite-28.units/specifier-j-wants.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/testsuite-28.units/specifier-j-wants.service b/test/testsuite-28.units/specifier-j-wants.service
new file mode 100644
index 0000000..facf557
--- /dev/null
+++ b/test/testsuite-28.units/specifier-j-wants.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Wants with percent-j specifier
+Wants=specifier-j-depends-%j.service
+After=specifier-j-depends-%j.service
+After=testsuite-28-pre.service
+
+[Service]
+Type=oneshot
+ExecStart=test -f /tmp/test-specifier-j-%j
+ExecStart=sh -c 'echo OK > /testok'