chiark / gitweb /
units: drop [Install] section from multi-user.target and graphical.target
authorLennart Poettering <lennart@poettering.net>
Fri, 17 Jan 2014 19:27:35 +0000 (20:27 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 17 Jan 2014 19:27:35 +0000 (20:27 +0100)
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.

units/graphical.target
units/multi-user.target

index 65f2521..a2c4532 100644 (file)
@@ -13,6 +13,3 @@ After=multi-user.target
 Conflicts=rescue.target
 Wants=display-manager.service
 AllowIsolate=yes
 Conflicts=rescue.target
 Wants=display-manager.service
 AllowIsolate=yes
-
-[Install]
-Alias=default.target
index 998e046..0f0e5e9 100644 (file)
@@ -12,6 +12,3 @@ Requires=basic.target
 Conflicts=rescue.service rescue.target
 After=basic.target rescue.service rescue.target
 AllowIsolate=yes
 Conflicts=rescue.service rescue.target
 After=basic.target rescue.service rescue.target
 AllowIsolate=yes
-
-[Install]
-Alias=default.target