summaryrefslogtreecommitdiffstats
path: root/test/test-path/basic.target
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test-path/basic.target15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/test-path/basic.target b/test/test-path/basic.target
new file mode 100644
index 0000000..45f71aa
--- /dev/null
+++ b/test/test-path/basic.target
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Unit]
+Description=Basic System
+Documentation=man:systemd.special(7)
+Requires=sysinit.target
+Wants=sockets.target timers.target paths.target slices.target
+After=sysinit.target sockets.target paths.target slices.target tmp.mount
+
+# We support /var, /tmp, /var/tmp, being on NFS, but we don't pull in
+# remote-fs.target by default, hence pull them in explicitly here. Note that we
+# require /var and /var/tmp, but only add a Wants= type dependency on /tmp, as
+# we support that unit being masked, and this should not be considered an error.
+RequiresMountsFor=/var /var/tmp
+Wants=tmp.mount