[GH-ISSUE #23] make it run through service #16

Open
opened 2026-02-26 12:33:43 +03:00 by kerem · 2 comments
Owner

Originally created by @Yolkis on GitHub (Apr 5, 2019).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/23

Originally created by @Yolkis on GitHub (Apr 5, 2019). Original GitHub issue: https://github.com/cbeuw/Cloak/issues/23
Author
Owner

@jeffshead commented on GitHub (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.

<!-- gh-comment-id:494512939 --> @jeffshead commented on GitHub (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.
Author
Owner

@beanslel commented on GitHub (Jun 12, 2019):

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.

<!-- gh-comment-id:501149877 --> @beanslel commented on GitHub (Jun 12, 2019): 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 in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Cloak#16
No description provided.