Cloak icon indicating copy to clipboard operation
Cloak copied to clipboard

make it run through service

Open Yolkis opened this issue 5 years ago • 2 comments

Yolkis avatar Apr 05 '19 02:04 Yolkis

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.

jeffshead avatar May 21 '19 18:05 jeffshead

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.

beanslel avatar Jun 12 '19 07:06 beanslel