summaryrefslogtreecommitdiff
path: root/src/libbasic/include/basic/basic.target
diff options
context:
space:
mode:
Diffstat (limited to 'src/libbasic/include/basic/basic.target')
-rw-r--r--src/libbasic/include/basic/basic.target20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/libbasic/include/basic/basic.target b/src/libbasic/include/basic/basic.target
new file mode 100644
index 0000000000..3e3527f894
--- /dev/null
+++ b/src/libbasic/include/basic/basic.target
@@ -0,0 +1,20 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[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