add clean start update_dyndns.sh in clidmanager
This commit is contained in:
@@ -217,7 +217,7 @@ watcher_management() {
|
||||
echo "======================================================"
|
||||
echo -e "[$one] $(gettext "View active bans (iptables)")"
|
||||
echo -e "[$two] $(gettext "Manually unban an IP")"
|
||||
echo -e "[$three] $(gettext "Whitelist Management (DynDNS/Static)")"
|
||||
echo -e "[$three] $(gettext "Whitelist Management (Static)")"
|
||||
echo -e "[$four] $(gettext "Edit JSON Configuration")"
|
||||
echo -e "[$five] $(gettext "DynDNS & Notification Settings")"
|
||||
echo -e "[$six] $(gettext "View Watcher Logs")"
|
||||
@@ -310,6 +310,8 @@ watcher_management() {
|
||||
[ -n "$NEW_START" ] && sed -i "s/^SEND_WATCHER_START_NOTIFICATION=.*/SEND_WATCHER_START_NOTIFICATION=$NEW_START/" "$ENV_PATH"
|
||||
|
||||
echo -e "${GREEN}$(gettext "Settings saved.")${NORMAL}"
|
||||
pkill -f "update_dyndns.sh" > /dev/null 2>&1
|
||||
/usr/local/bin/update_dyndns.sh > /dev/null 2>&1 &
|
||||
sleep 2 ;;
|
||||
6)
|
||||
docker logs -f --tail 50 "$REAL_CONTAINER_NAME"
|
||||
|
||||
Reference in New Issue
Block a user