diff --git a/rpm/SOURCES/shadowsocks b/rpm/SOURCES/shadowsocks index 7dd40207..78130c4c 100644 --- a/rpm/SOURCES/shadowsocks +++ b/rpm/SOURCES/shadowsocks @@ -68,7 +68,8 @@ echo "$NAME is already running!" exit 0 else echo -n $"Starting ${NAME}: " -daemon --check $DAEMON --user $USER "$DAEMON -f $PID -c $CONF > /dev/null" +#daemon --check $DAEMON --user $USER "$DAEMON -f $PID -c $CONF > /dev/null" +daemon $DAEMON -c $CONF -f $PID fi RETVAL=$? @@ -120,4 +121,4 @@ echo $"Usage: $0 {start|stop|restart|condrestart|status}" RETVAL=1 esac -exit $RETVAL \ No newline at end of file +exit $RETVAL