summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
Diffstat (limited to 'units')
-rw-r--r--units/console-getty.service.m42
-rw-r--r--units/container-getty@.service.m42
-rw-r--r--units/getty@.service.m42
-rw-r--r--units/serial-getty@.service.m42
4 files changed, 8 insertions, 0 deletions
diff --git a/units/console-getty.service.m4 b/units/console-getty.service.m4
index 3c553240a2..7c3992e8e0 100644
--- a/units/console-getty.service.m4
+++ b/units/console-getty.service.m4
@@ -30,7 +30,9 @@ UtmpIdentifier=cons
TTYPath=/dev/console
TTYReset=yes
TTYVHangup=yes
+m4_ifdef(`ENABLE_LOGIND',,
KillMode=process
+)m4_dnl
IgnoreSIGPIPE=no
SendSIGHUP=yes
diff --git a/units/container-getty@.service.m4 b/units/container-getty@.service.m4
index 087ab7f9b1..e4f9ae5791 100644
--- a/units/container-getty@.service.m4
+++ b/units/container-getty@.service.m4
@@ -36,6 +36,8 @@ UtmpIdentifier=pts/%I
TTYPath=/dev/pts/%I
TTYReset=yes
TTYVHangup=yes
+m4_ifdef(`ENABLE_LOGIND',,
KillMode=process
+)m4_dnl
IgnoreSIGPIPE=no
SendSIGHUP=yes
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index 80e793bb73..087d686666 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -47,7 +47,9 @@ TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
+m4_ifdef(`ENABLE_LOGIND',,
KillMode=process
+)m4_dnl
IgnoreSIGPIPE=no
SendSIGHUP=yes
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
index 757b86ab2f..cab89fb426 100644
--- a/units/serial-getty@.service.m4
+++ b/units/serial-getty@.service.m4
@@ -40,7 +40,9 @@ UtmpIdentifier=%I
TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
+m4_ifdef(`ENABLE_LOGIND',,
KillMode=process
+)m4_dnl
IgnoreSIGPIPE=no
SendSIGHUP=yes