From b77633463fc6ece4c7b81858ce0ab1bd1b63272a Mon Sep 17 00:00:00 2001 From: Ryan Sundberg Date: Wed, 22 Nov 2017 23:18:19 -0800 Subject: [PATCH] Fork syslog-ng into a new process group via bash monitor mode This prevents SIGINT from a user interrupt from prematurely quitting syslog-ng. See https://github.com/phusion/baseimage-docker/issues/450 --- image/services/syslog-ng/syslog-ng.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/services/syslog-ng/syslog-ng.init b/image/services/syslog-ng/syslog-ng.init index 04f526b..8a33b78 100755 --- a/image/services/syslog-ng/syslog-ng.init +++ b/image/services/syslog-ng/syslog-ng.init @@ -1,5 +1,5 @@ #!/bin/bash -set -e +set -em # If /dev/log is either a named pipe or it was placed there accidentally, # e.g. because of the issue documented at https://github.com/phusion/baseimage-docker/pull/25,