From b5b43b69345c2fe6c4c9797537ae5a68332808f6 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sat, 7 May 2016 23:57:36 +0900 Subject: [PATCH] update boot up script --- shadowsocks-go | 2 +- shadowsocks-go-debian | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shadowsocks-go b/shadowsocks-go index ab573ba..3d27c65 100644 --- a/shadowsocks-go +++ b/shadowsocks-go @@ -70,7 +70,7 @@ do_start() { fi echo "starting shadowsocks-go" # sudo will set the group to the primary group of $USER - $BIN -c $CONFIG_FILE > /dev/null 2>&1 & + $BIN -c $CONFIG_FILE > /dev/null & PID=$! echo $PID > $PID_FILE sleep 0.3 diff --git a/shadowsocks-go-debian b/shadowsocks-go-debian index 2fbaf9f..5c3a0a0 100644 --- a/shadowsocks-go-debian +++ b/shadowsocks-go-debian @@ -68,7 +68,7 @@ do_start() { fi echo "starting $NAME" # sudo will set the group to the primary group of $USER - $BIN -c $CONFIG_FILE > /dev/null 2>&1 & + $BIN -c $CONFIG_FILE > /dev/null & PID=$! echo $PID > $PID_FILE sleep 0.3