From bb1743d25dc8145252b0e8a90d81766a957dc45a Mon Sep 17 00:00:00 2001 From: Michael Rash Date: Tue, 2 Oct 2012 23:22:15 -0400 Subject: [PATCH] [server] Switched upstart config to use 'expect' section This change allows fwknopd to write syslog messages to traditional syslog files while running under upstart. Not forking into the background resulted in messages meant for syslog were captured under /var/log/upstart/fwknop.log. --- extras/upstart/fwknop.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extras/upstart/fwknop.conf b/extras/upstart/fwknop.conf index 51601f7d..ffa2df11 100644 --- a/extras/upstart/fwknop.conf +++ b/extras/upstart/fwknop.conf @@ -20,4 +20,6 @@ umask 022 # mail -s "Starting fwknop on $HOST" $EMAIL_ADDR < /dev/null > /dev/null 2>&1 # end script -exec /usr/sbin/fwknopd -f +expect fork + +exec /usr/sbin/fwknopd