Browse Source

fix service failed

pull/42/head
Vinna 10 years ago
parent
commit
0557bcd727
1 changed files with 3 additions and 2 deletions
  1. 5
      rpm/SOURCES/shadowsocks

5
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
exit $RETVAL
Loading…
Cancel
Save