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
This commit is contained in:
Ryan Sundberg
2017-11-22 23:18:19 -08:00
parent c5680a44b1
commit b77633463f

View File

@@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
set -e set -em
# If /dev/log is either a named pipe or it was placed there accidentally, # 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, # e.g. because of the issue documented at https://github.com/phusion/baseimage-docker/pull/25,