1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2024-07-16 09:11:19 +02:00
parent e02a8d8bd2
commit 98b3f85638

View file

@ -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