Cloak
Cloak copied to clipboard
make it run through service
I too would like to know what is the best way to have it auto-start on CentOS 7. I'm on an OpenVZ VPS and I tried for hours to get it to run as a service. I kept getting errors; mainly permission errors. I ended up adding the following to the bottom of /etc/rc.local:
ss-server -c /etc/shadowsocks-libev/config.json
Then I chmoded the file with the following command:
chmod +x /etc/rc.d/rc.local
So far, it seems to be working just fine.
Unsure about other distros, but shadowsocks-libev will run as a daemon through init.d automatically on Ubuntu and Debian. This is a SS related issue and has nothing to do with Cloak.