-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/dev'
- Loading branch information
Showing
8 changed files
with
7,775 additions
and
76 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
1.使用[email protected] https://github.com/shadowsocks/shadowsocks-libev/blob/master/debian/shadowsocks-libev-redir%40.service | ||
2. 使用https://github.com/shadowsocks/luci-app-shadowsocks/blob/master/files/root/usr/bin/ss-rules-without-ipset替换shadowsocks-libev的ss-nat工具 | ||
3....... | ||
1. 使用https://github.com/shadowsocks/luci-app-shadowsocks/blob/master/files/root/usr/bin/ss-rules-without-ipset替换shadowsocks-libev的ss-nat工具 | ||
2....... |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[Unit] | ||
Description=Chinadns | ||
After=network.target | ||
|
||
[Service] | ||
Type=simple | ||
User=root | ||
ExecStart=/bin/sh -c '/usr/bin/chinadns \ | ||
-m \ | ||
-b 127.0.0.2 \ | ||
-c /usr/share/chnroute.txt \ | ||
1> /var/log/chinadns.log \ | ||
2> /var/log/chinadns.err.log' | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This file is part of shadowsocks-libev. | ||
# | ||
# Shadowsocks-libev is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This is a template unit file. Users may copy and rename the file into | ||
# config directories to make new service instances. See systemd.unit(5) | ||
# for details. | ||
|
||
[Unit] | ||
Description=Shadowsocks-Libev Custom Client Service Redir Mode for %I | ||
Documentation=man:ss-redir(1) | ||
After=network.target | ||
|
||
[Service] | ||
Type=simple | ||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE | ||
ExecStart=/bin/sh -c '/usr/bin/ss-redir \ | ||
-c /etc/shadowsocks-libev/%i.json \ | ||
> /var/log/ss-redir.log \ | ||
2>&1' | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# This file is part of shadowsocks-libev. | ||
# | ||
# Shadowsocks-libev is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This is a template unit file. Users may copy and rename the file into | ||
# config directories to make new service instances. See systemd.unit(5) | ||
# for details. | ||
|
||
[Unit] | ||
Description=Shadowsocks-Libev Custom Client Service Redir Mode for %I | ||
Documentation=man:ss-redir(1) | ||
After=network.target | ||
|
||
[Service] | ||
Type=simple | ||
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE | ||
ExecStart=/usr/bin/ss-redir -c /etc/shadowsocks-libev/%i.json | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
|
Oops, something went wrong.