summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-07-13 09:59:35 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-07-13 10:00:29 -0400
commit7aa4fa34f76b0d9b031f0a5ea941c7fa10cebbee (patch)
tree0cca6e87f73541b4ded2738cc009a2233fb77e32
parent92d430a9e03056c0f62ed49149d59aed0046d0dd (diff)
units: do not special-case getty@tty1.service installation
Since a long while we can use "systemctl enable getty@tty1.service" which does the right thing, so there's no need to abuse Alias= for installation.
-rw-r--r--units/getty@.service.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index f32ca99ea9..7853652009 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -20,9 +20,9 @@ After=rc-local.service
Before=getty.target
IgnoreOnIsolate=yes
-# On systems without virtual consoles, don't start any getty. (Note
+# On systems without virtual consoles, don't start any getty. Note
# that serial gettys are covered by serial-getty@.service, not this
-# unit
+# unit.
ConditionPathExists=/dev/tty0
[Service]
@@ -48,4 +48,4 @@ Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETA
KillSignal=SIGHUP
[Install]
-Alias=getty.target.wants/getty@tty1.service
+WantedBy=getty.target