summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-01-06 04:52:17 +0100
committerKay Sievers <kay@vrfy.org>2014-01-06 18:35:25 +0100
commitfccd44ec3a7abd305b558d39f54b5ef223f00b68 (patch)
treeaa57881d570c15d5724be5c87ec184a2b83ccaae /units
parentcore: --user -- move generator directories from /tmp to $XDG_RUNTIME_DIR (diff)
downloadsystemd-fccd44ec3a7abd305b558d39f54b5ef223f00b68.tar.xz
systemd-fccd44ec3a7abd305b558d39f54b5ef223f00b68.zip
core: --user -- add basic.target an sort against it like --system does
Diffstat (limited to 'units')
-rw-r--r--units/user/basic.target13
-rw-r--r--units/user/default.target2
2 files changed, 15 insertions, 0 deletions
diff --git a/units/user/basic.target b/units/user/basic.target
new file mode 100644
index 0000000000..b74d13c29c
--- /dev/null
+++ b/units/user/basic.target
@@ -0,0 +1,13 @@
+# 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)
+Wants=sockets.target timers.target paths.target
+After=sockets.target timers.target paths.target
+RefuseManualStart=yes
diff --git a/units/user/default.target b/units/user/default.target
index 71eed51b09..9853c33b40 100644
--- a/units/user/default.target
+++ b/units/user/default.target
@@ -8,4 +8,6 @@
[Unit]
Description=Default
Documentation=man:systemd.special(7)
+Requires=basic.target
+After=basic.target
AllowIsolate=yes