Skip to content

Commit 02ebe17

Browse files
committed
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.
1 parent 6a8b5fa commit 02ebe17

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

units/graphical.target

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,3 @@ After=multi-user.target
1313
Conflicts=rescue.target
1414
Wants=display-manager.service
1515
AllowIsolate=yes
16-
17-
[Install]
18-
Alias=default.target

units/multi-user.target

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,3 @@ Requires=basic.target
1212
Conflicts=rescue.service rescue.target
1313
After=basic.target rescue.service rescue.target
1414
AllowIsolate=yes
15-
16-
[Install]
17-
Alias=default.target

0 commit comments

Comments
 (0)