diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-02-09 03:18:04 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-02-09 03:18:04 +0100 |
commit | 353e12c2f4a9e96a47eb80b80d2ffb7bc1d44a1b (patch) | |
tree | 0bd79a2c40d8d60892666affbbb89690f29c672e /units | |
parent | 12ac304714996c3c3308d014b301d0d42d16c117 (diff) |
service: ignore SIGPIPE by defaultsystemd/v41
Diffstat (limited to 'units')
-rw-r--r-- | units/console-shell.service.m4 | 1 | ||||
-rw-r--r-- | units/emergency.service | 1 | ||||
-rw-r--r-- | units/fedora/prefdm.service | 1 | ||||
-rw-r--r-- | units/getty@.service.m4 | 1 | ||||
-rw-r--r-- | units/serial-getty@.service.m4 | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/units/console-shell.service.m4 b/units/console-shell.service.m4 index 02adc8403b..fef9e1b176 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 4847f4f0c6..234bafcc88 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 17ed4cd786..77a0e9ad7c 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 d2a145dacd..a02838d785 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 e5f0ca6c6c..fc8b57b93e 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. |