daandemeyer / rpms / systemd

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