Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make it run through service #23

Open
Yolkis opened this issue Apr 5, 2019 · 2 comments
Open

make it run through service #23

Yolkis opened this issue Apr 5, 2019 · 2 comments

Comments

@Yolkis
Copy link

Yolkis commented Apr 5, 2019

No description provided.

@Yolkis Yolkis changed the title add the ability to run through service make it run through service Apr 5, 2019
@jeffshead
Copy link

jeffshead commented May 21, 2019

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.

@beanslel
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants