chiark / gitweb /
units/serial-getty@.service: add [Install] section
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Feb 2014 13:02:28 +0000 (08:02 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Feb 2014 13:07:34 +0000 (08:07 -0500)
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

units/serial-getty@.service.m4

index 0e612bbdec4dd1a27da942f86f08cabc7afdf4d4..e94cdb4aa4fdc24ea6fdc423e5c5fbc7f13dbca3 100644 (file)
@@ -33,3 +33,6 @@ TTYVHangup=yes
 KillMode=process
 IgnoreSIGPIPE=no
 SendSIGHUP=yes
+
+[Install]
+WantedBy=getty.target