Browse Source

cancel certain user permisson,because run failed

pull/42/head
Vinna 10 years ago
parent
commit
c52e30dd20
1 changed files with 3 additions and 3 deletions
  1. 6
      rpm/SOURCES/shadowsocks

6
rpm/SOURCES/shadowsocks

@ -30,12 +30,12 @@ DAEMON=/usr/local/bin/ss-server
# #
CONF=/usr/local/etc/shadowsocks.json CONF=/usr/local/etc/shadowsocks.json
USER="nobody"
GROUP="nobody"
#USER="nobody"
#GROUP="nobody"
# Take care of pidfile permissions # Take care of pidfile permissions
mkdir /var/run/$NAME 2>/dev/null || true mkdir /var/run/$NAME 2>/dev/null || true
chown "$USER:$GROUP" /var/run/$NAME
#chown "$USER:$GROUP" /var/run/$NAME
# Check the configuration file exists. # Check the configuration file exists.
# #

Loading…
Cancel
Save