Compare commits

...

2 Commits

Author SHA1 Message Date
Míguel Ángel Mulero Martínez baff09786b
Merge ce9db9e994 into 6d5e404a0c 2024-04-26 12:32:36 +02:00
Miguel Angel Mulero Martinez ce9db9e994 ddns-scripts: fix duplication of processes when reloading
When a "service ddns reload" is issued, the ddns processes are being duplicated.
It seems the culprit is the -1 in the 'killall' command, and removing it fixes the issue, so this commit removes the -1 as workaround of the problem.

Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
2024-04-16 15:57:53 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ddns-scripts
PKG_VERSION:=2.8.2
PKG_RELEASE:=43
PKG_RELEASE:=44
PKG_LICENSE:=GPL-2.0

View File

@ -89,7 +89,7 @@ case "$1" in
exit 1
;;
reload)
killall -1 dynamic_dns_updater.sh 2>/dev/null
killall dynamic_dns_updater.sh 2>/dev/null
exit $?
;;
*) usage_err "unknown command - $1";;