ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
9fc0f6
From 8ade7cd519f3cdccc81ed8c2fb2f72df48a191d7 Mon Sep 17 00:00:00 2001
9fc0f6
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
9fc0f6
Date: Mon, 24 Feb 2014 08:02:28 -0500
9fc0f6
Subject: [PATCH] units/serial-getty@.service: add [Install] section
9fc0f6
9fc0f6
This makes it easier to manually enable and disable
9fc0f6
specific gettys, and also mirrors getty@.service.
9fc0f6
9fc0f6
http://lists.freedesktop.org/archives/systemd-devel/2014-February/017329.html
9fc0f6
9fc0f6
Resolves: #1083936
9fc0f6
---
9fc0f6
 units/serial-getty@.service.m4 | 3 +++
9fc0f6
 1 file changed, 3 insertions(+)
9fc0f6
9fc0f6
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
9fc0f6
index e32c6b7..aea078f 100644
9fc0f6
--- a/units/serial-getty@.service.m4
9fc0f6
+++ b/units/serial-getty@.service.m4
9fc0f6
@@ -33,3 +33,6 @@ TTYVHangup=yes
9fc0f6
 KillMode=process
9fc0f6
 IgnoreSIGPIPE=no
9fc0f6
 SendSIGHUP=yes
9fc0f6
+
9fc0f6
+[Install]
9fc0f6
+WantedBy=getty.target