Created
April 12, 2018 13:38
-
-
Save Wohlstand/28c7200ce183240da7425d4ba193161b to your computer and use it in GitHub Desktop.
Systemd script for SS5 Socks proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=SS5 Socks Proxy | |
After=syslog.target network.target nss-lookup.target | |
[Service] | |
Type=forking | |
# The PID file is optional, but recommended in the manpage | |
# "so that systemd can identify the main process of the daemon" | |
PIDFile=/var/run/ss5.pid | |
ExecStart=/usr/sbin/ss5 -p /var/run/ss5.pid -u root -b 0.0.0.0:4781 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment