|
|
a52f674 |
From e81566523ee61473daab8cdad95007f151825bab Mon Sep 17 00:00:00 2001
|
|
|
ca73a27 |
From: Lennart Poettering <lennart@poettering.net>
|
|
|
ca73a27 |
Date: Fri, 17 Jan 2014 20:27:35 +0100
|
|
|
ca73a27 |
Subject: [PATCH] units: drop [Install] section from multi-user.target and
|
|
|
ca73a27 |
graphical.target
|
|
|
ca73a27 |
|
|
|
ca73a27 |
They were supposed to make it easy to make the default.target a symlink
|
|
|
ca73a27 |
to these targets, but this was never advertised and we have a better
|
|
|
ca73a27 |
command for this now in "systemctl set-default". Since the install
|
|
|
ca73a27 |
section makes the output of "systemctl list-unit-files" confusing (since
|
|
|
ca73a27 |
it makes the units appear as "disabled"), let's drop the sections.
|
|
|
a52f674 |
|
|
|
a52f674 |
(cherry picked from commit 02ebe178a2bd6b2448d4fbfa4a1f7fa98e9e82b1)
|
|
|
ca73a27 |
---
|
|
|
ca73a27 |
units/graphical.target | 3 ---
|
|
|
ca73a27 |
units/multi-user.target | 3 ---
|
|
|
ca73a27 |
2 files changed, 6 deletions(-)
|
|
|
ca73a27 |
|
|
|
ca73a27 |
diff --git a/units/graphical.target b/units/graphical.target
|
|
|
ca73a27 |
index 65f2521..a2c4532 100644
|
|
|
ca73a27 |
--- a/units/graphical.target
|
|
|
ca73a27 |
+++ b/units/graphical.target
|
|
|
ca73a27 |
@@ -13,6 +13,3 @@ After=multi-user.target
|
|
|
ca73a27 |
Conflicts=rescue.target
|
|
|
ca73a27 |
Wants=display-manager.service
|
|
|
ca73a27 |
AllowIsolate=yes
|
|
|
ca73a27 |
-
|
|
|
ca73a27 |
-[Install]
|
|
|
ca73a27 |
-Alias=default.target
|
|
|
ca73a27 |
diff --git a/units/multi-user.target b/units/multi-user.target
|
|
|
ca73a27 |
index 998e046..0f0e5e9 100644
|
|
|
ca73a27 |
--- a/units/multi-user.target
|
|
|
ca73a27 |
+++ b/units/multi-user.target
|
|
|
ca73a27 |
@@ -12,6 +12,3 @@ Requires=basic.target
|
|
|
ca73a27 |
Conflicts=rescue.service rescue.target
|
|
|
ca73a27 |
After=basic.target rescue.service rescue.target
|
|
|
ca73a27 |
AllowIsolate=yes
|
|
|
ca73a27 |
-
|
|
|
ca73a27 |
-[Install]
|
|
|
ca73a27 |
-Alias=default.target
|