[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.
This commit is contained in:
Michael Rash 2012-10-02 23:22:15 -04:00
parent 1828f51b90
commit bb1743d25d

View File

@ -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