summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2014-01-06 07:52:17 +0400
committerKay Sievers <kay@vrfy.org>2014-01-07 01:35:25 +0800
commitfccd44ec3a7abd305b558d39f54b5ef223f00b68 (patch)
treeaa57881d570c15d5724be5c87ec184a2b83ccaae /units
parentfcc81ea3616b1108a23c0997331923d052539124 (diff)
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