Fix shadowsocks-libev start script
This commit is contained in:
parent
1fba80b39b
commit
11db4f6232
|
|
@ -148,7 +148,7 @@ function install(){
|
||||||
./configure
|
./configure
|
||||||
make && make install
|
make && make install
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
mv -f $cur_dir/shadowsocks-libev /etc/init.d/shadowsocks
|
mv $cur_dir/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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user