commit 93649eeed9e88142b7b6a01fc06f4fde12039953 Author: David Fifield david@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
tor-commits@lists.torproject.org