summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-24 08:02:28 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-24 08:07:34 -0500
commit7143555ce8f94b002d06b9b058d7d90c3a4901a9 (patch)
tree4f2a8e0c4b2263ad9364c56795a41f23649bb05f
parent248fab742d2b61557de93ac6e422986a8858bf52 (diff)
units/serial-getty@.service: add [Install] section
This makes it easier to manually enable and disable specific gettys, and also mirrors getty@.service. http://lists.freedesktop.org/archives/systemd-devel/2014-February/017329.html
-rw-r--r--units/serial-getty@.service.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
index 0e612bbdec..e94cdb4aa4 100644
--- a/units/serial-getty@.service.m4
+++ b/units/serial-getty@.service.m4
@@ -33,3 +33,6 @@ TTYVHangup=yes
KillMode=process
IgnoreSIGPIPE=no
SendSIGHUP=yes
+
+[Install]
+WantedBy=getty.target