[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [flashproxy/master] Add -D option to websockify command.
commit 93649eeed9e88142b7b6a01fc06f4fde12039953
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date: Wed Dec 5 21:24:23 2012 -0800
Add -D option to websockify command.
This causes it to background itself.
---
init.d/websockify | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/init.d/websockify b/init.d/websockify
index 22a5450..b43f2ea 100755
--- a/init.d/websockify
+++ b/init.d/websockify
@@ -29,7 +29,7 @@ case "$1" in
start)
[ -x $WEBSOCKIFY ] || exit 1
echo -n $"Starting websockify server: "
- cd $VARDIR && daemon --user "$USER" --pidfile $PIDFILE "$WEBSOCKIFY" :"$WEBSOCKIFY_PORT" "$LOCAL_ADDRESS"
+ cd $VARDIR && daemon --user "$USER" --pidfile $PIDFILE "$WEBSOCKIFY" -D :"$WEBSOCKIFY_PORT" "$LOCAL_ADDRESS"
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/websockify
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits