mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-20 13:03:50 +00:00
Fix the pid file in centos init script
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
#====================================================================
|
||||
|
||||
Reference in New Issue
Block a user