-
-
Save machsix/0cdb5524d4886573ac51b9ab0b10bfa0 to your computer and use it in GitHub Desktop.
extra shadowsocks-libev/simple-obfs systemd unit files
This file contains hidden or 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=Shadowsocks-Libev Server Service With Standalone Simple Obfusacting Service | |
After=network.target | |
BindsTo=simple-obfs-server@%i.service | |
After=simple-obfs-server@%i.service | |
[Service] | |
Type=simple | |
User=nobody | |
CapabilityBoundingSet=CAP_NET_BIND_SERVICE | |
ExecStart=/usr/bin/ss-server -c /etc/shadowsocks/%i.json | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or 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=Shadowsocks-Libev Client Service With Standalone Simple Obfusacting Service | |
After=network.target | |
BindsTo=simple-obfs-local@%i.service | |
After=simple-obfs-local@%i.service | |
[Service] | |
Type=simple | |
User=nobody | |
CapabilityBoundingSet=CAP_NET_BIND_SERVICE | |
ExecStart=/usr/bin/ss-local -c /etc/shadowsocks/%i.json | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or 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=Standalone Simple Obfusacting Service for Shadowsocks-Libev Client | |
After=network.target | |
PartOf=shadowsocks-libev-with-standalone-simple-obfs@%i.service | |
[Service] | |
Type=simple | |
User=nobody | |
CapabilityBoundingSet=CAP_NET_BIND_SERVICE | |
ExecStart=/usr/bin/obfs-local -c /etc/shadowsocks/%i.simple-obfs.json | |
[Install] | |
WantedBy=multi-user.target |
This file contains hidden or 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=Standalone Simple Obfusacting Service for Shadowsocks-Libev Server | |
After=network.target | |
PartOf=shadowsocks-libev-server-with-standalone-simple-obfs@%i.service | |
[Service] | |
Type=simple | |
User=nobody | |
CapabilityBoundingSet=CAP_NET_BIND_SERVICE | |
ExecStart=/usr/bin/obfs-server -c /etc/shadowsocks/%i.simple-obfs.json | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment