1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-09 01:18:19 +03:00

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.
This commit is contained in:
Lennart Poettering 2014-01-17 20:27:35 +01:00
parent 6a8b5fa463
commit 02ebe178a2
2 changed files with 0 additions and 6 deletions

View File

@ -13,6 +13,3 @@ After=multi-user.target
Conflicts=rescue.target Conflicts=rescue.target
Wants=display-manager.service Wants=display-manager.service
AllowIsolate=yes AllowIsolate=yes
[Install]
Alias=default.target

View File

@ -12,6 +12,3 @@ Requires=basic.target
Conflicts=rescue.service rescue.target Conflicts=rescue.service rescue.target
After=basic.target rescue.service rescue.target After=basic.target rescue.service rescue.target
AllowIsolate=yes AllowIsolate=yes
[Install]
Alias=default.target