Fix shadowsocks-libev start script

This commit is contained in:
Teddysun 2014-11-24 20:35:06 +09:00
parent 11db4f6232
commit 05e07eb870

View File

@ -148,7 +148,7 @@ function install(){
./configure ./configure
make && make install make && make install
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
mv $cur_dir/shadowsocks-libev /etc/init.d/shadowsocks mv $cur_dir/shadowsocks-libev-master/shadowsocks-libev /etc/init.d/shadowsocks
chmod +x /etc/init.d/shadowsocks chmod +x /etc/init.d/shadowsocks
# Add run on system start up # Add run on system start up
chkconfig --add shadowsocks chkconfig --add shadowsocks