summaryrefslogtreecommitdiff
path: root/units/user
diff options
context:
space:
mode:
Diffstat (limited to 'units/user')
-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