Browse Source

Fix the pid file in centos init script

pull/45/head
Max Lv 10 years ago
parent
commit
ef432f078b
1 changed files with 2 additions and 2 deletions
  1. 4
      rpm/SOURCES/etc/init.d/shadowsocks

4
rpm/SOURCES/etc/init.d/shadowsocks

@ -23,7 +23,7 @@
[ ${NETWORKING} ="yes" ] || exit 0
# Daemon
NAME=Shadowsocks-Server
NAME=shadowsocks-server
DAEMON=/usr/local/bin/ss-server
# Path to the configuration file.
@ -50,7 +50,7 @@ LOCK_FILE=/var/lock/subsys/shadowsocks
# Path to the pid file.
#
PID=/var/run/shadowsocks.pid
PID=/var/run/$NAME/pid
#====================================================================

Loading…
Cancel
Save