[tor-commits] [flashproxy/master] Add -D option to websockify command.
dcf at torproject.org
dcf at torproject.org
Thu Dec 6 05:25:03 UTC 2012
commit 93649eeed9e88142b7b6a01fc06f4fde12039953
Author: David Fifield <david at bamsoftware.com>
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
More information about the tor-commits
mailing list