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