summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-02-09 03:18:04 +0100
committerLennart Poettering <lennart@poettering.net>2012-02-09 03:18:04 +0100
commit353e12c2f4a9e96a47eb80b80d2ffb7bc1d44a1b (patch)
tree0bd79a2c40d8d60892666affbbb89690f29c672e /units
parentupdate TODO (diff)
downloadeudev-353e12c2f4a9e96a47eb80b80d2ffb7bc1d44a1b.tar.gz
eudev-353e12c2f4a9e96a47eb80b80d2ffb7bc1d44a1b.tar.bz2
eudev-353e12c2f4a9e96a47eb80b80d2ffb7bc1d44a1b.zip
service: ignore SIGPIPE by defaultsystemd-v41
Diffstat (limited to 'units')
-rw-r--r--units/console-shell.service.m41
-rw-r--r--units/emergency.service1
-rw-r--r--units/fedora/prefdm.service1
-rw-r--r--units/getty@.service.m41
-rw-r--r--units/serial-getty@.service.m41
5 files changed, 5 insertions, 0 deletions
diff --git a/units/console-shell.service.m4 b/units/console-shell.service.m4
index 02adc8403..fef9e1b17 100644
--- a/units/console-shell.service.m4
+++ b/units/console-shell.service.m4
@@ -37,6 +37,7 @@ StandardInput=tty-force
StandardOutput=inherit
StandardError=inherit
KillMode=process
+IgnoreSIGPIPE=no
# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
# terminates cleanly.
diff --git a/units/emergency.service b/units/emergency.service
index 4847f4f0c..234bafcc8 100644
--- a/units/emergency.service
+++ b/units/emergency.service
@@ -24,6 +24,7 @@ StandardInput=tty-force
StandardOutput=inherit
StandardError=inherit
KillMode=process
+IgnoreSIGPIPE=no
# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
# terminates cleanly.
diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service
index 17ed4cd78..77a0e9ad7 100644
--- a/units/fedora/prefdm.service
+++ b/units/fedora/prefdm.service
@@ -18,3 +18,4 @@ After=getty@tty1.service plymouth-quit.service
ExecStart=/etc/X11/prefdm -nodaemon
Restart=always
RestartSec=0
+IgnoreSIGPIPE=no
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
index d2a145dac..a02838d78 100644
--- a/units/getty@.service.m4
+++ b/units/getty@.service.m4
@@ -44,6 +44,7 @@ TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
KillMode=process
+IgnoreSIGPIPE=no
# Unset locale for the console getty since the console has problems
# displaying some internationalized messages.
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
index e5f0ca6c6..fc8b57b93 100644
--- a/units/serial-getty@.service.m4
+++ b/units/serial-getty@.service.m4
@@ -43,6 +43,7 @@ TTYPath=/dev/%I
TTYReset=yes
TTYVHangup=yes
KillMode=process
+IgnoreSIGPIPE=no
# Some login implementations ignore SIGTERM, so we send SIGHUP
# instead, to ensure that login terminates cleanly.