projects
/
fwknop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1828f51
)
[server] Switched upstart config to use 'expect' section
author
Michael Rash
<mbr@cipherdyne.org>
Wed, 3 Oct 2012 03:22:15 +0000 (23:22 -0400)
committer
Michael Rash
<mbr@cipherdyne.org>
Wed, 3 Oct 2012 03:22:15 +0000 (23:22 -0400)
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
patch
|
blob
|
history
diff --git
a/extras/upstart/fwknop.conf
b/extras/upstart/fwknop.conf
index
51601f7
..
ffa2df1
100644
(file)
--- 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