summaryrefslogtreecommitdiff
path: root/units/graphical.target
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-06-27 22:21:35 +0200
committerLennart Poettering <lennart@poettering.net>2012-06-27 22:23:16 +0200
commit5231084b479455e6cc892ec3c37c9f599c5bea58 (patch)
treea33e4bcc38a6a74890f67e7ffac66d617dea2cc0 /units/graphical.target
parent27fda47f40453e552ebccf7acb85f915cf34f23a (diff)
units: add explicit dependency on display-manager.service to graphical.target
This replaces the symlink based dependency by an explicit one in the unit file so that we avoid the dangling symlink when no display manager is installed.
Diffstat (limited to 'units/graphical.target')
-rw-r--r--units/graphical.target1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/graphical.target b/units/graphical.target
index 7c6ebd4789..65f2521d9e 100644
--- a/units/graphical.target
+++ b/units/graphical.target
@@ -11,6 +11,7 @@ Documentation=man:systemd.special(7)
Requires=multi-user.target
After=multi-user.target
Conflicts=rescue.target
+Wants=display-manager.service
AllowIsolate=yes
[Install]