summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-01-17 20:27:35 +0100
committerColin Guthrie <colin@mageia.org>2014-02-23 12:42:01 +0000
commite81566523ee61473daab8cdad95007f151825bab (patch)
treeae3debab25caf9d75997316b5072880fa4b3b111 /units
parente96f97ae440a6ceda973584fa8c613bc4e92d890 (diff)
units: drop [Install] section from multi-user.target and graphical.target
They were supposed to make it easy to make the default.target a symlink to these targets, but this was never advertised and we have a better command for this now in "systemctl set-default". Since the install section makes the output of "systemctl list-unit-files" confusing (since it makes the units appear as "disabled"), let's drop the sections. (cherry picked from commit 02ebe178a2bd6b2448d4fbfa4a1f7fa98e9e82b1)
Diffstat (limited to 'units')
-rw-r--r--units/graphical.target3
-rw-r--r--units/multi-user.target3
2 files changed, 0 insertions, 6 deletions
diff --git a/units/graphical.target b/units/graphical.target
index 65f2521d9..a2c4532e4 100644
--- a/units/graphical.target
+++ b/units/graphical.target
@@ -13,6 +13,3 @@ After=multi-user.target
Conflicts=rescue.target
Wants=display-manager.service
AllowIsolate=yes
-
-[Install]
-Alias=default.target
diff --git a/units/multi-user.target b/units/multi-user.target
index 998e04603..0f0e5e99a 100644
--- a/units/multi-user.target
+++ b/units/multi-user.target
@@ -12,6 +12,3 @@ Requires=basic.target
Conflicts=rescue.service rescue.target
After=basic.target rescue.service rescue.target
AllowIsolate=yes
-
-[Install]
-Alias=default.target