Permalink
Browse files

[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.
  • Loading branch information...
1 parent 1828f51 commit bb1743d25dc8145252b0e8a90d81766a957dc45a @mrash committed Oct 3, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 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

0 comments on commit bb1743d

Please sign in to comment.