mirror of
https://github.com/cbeuw/Cloak.git
synced 2026-04-25 04:25:59 +03:00
[GH-ISSUE #23] make it run through service #16
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Cloak#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Yolkis on GitHub (Apr 5, 2019).
Original GitHub issue: https://github.com/cbeuw/Cloak/issues/23
@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.jsonThen I chmoded the file with the following command:
chmod +x /etc/rc.d/rc.localSo far, it seems to be working just fine.
@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.