mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Add more log in OMR-Tracker-ss
This commit is contained in:
parent
e02a8d8bd2
commit
98b3f85638
1 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,7 @@ while true; do
|
|||
_log "Reload Shadowsocks rules"
|
||||
/etc/init.d/shadowsocks-libev rules_up 2> /dev/null
|
||||
if ! /etc/init.d/shadowsocks-libev rules_exist ; then
|
||||
_log "Rules still not set, restart Shadowsocks"
|
||||
/etc/init.d/shadowsocks-libev restart >/dev/null 2>&1
|
||||
fi
|
||||
_get_ip
|
||||
|
@ -133,6 +134,7 @@ while true; do
|
|||
_log "Reload Shadowsocks Rust rules"
|
||||
/etc/init.d/shadowsocks-rust rules_up 2> /dev/null
|
||||
if ! /etc/init.d/shadowsocks-rust rules_exist ; then
|
||||
_log "Rules still not set, restart Shadowsocks-Rust"
|
||||
/etc/init.d/shadowsocks-rust restart >/dev/null 2>&1
|
||||
fi
|
||||
_get_ip
|
||||
|
|
Loading…
Reference in a new issue