ddns-scripts: fix duplication of processes when reloading
authorMiguel Angel Mulero Martinez <redacted>
Tue, 16 Apr 2024 13:53:29 +0000 (15:53 +0200)
committerMiguel Angel Mulero Martinez <redacted>
Tue, 14 May 2024 19:18:58 +0000 (21:18 +0200)
commit525182892b4e2a902b3f66eea1b3f4aa65da695a
tree75c5e2d07725fd22b7e19678eb6a6bfdeba7d8ac
parente44aae02d04c3894ea95d4fa96faca31e6922933
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.
The -1 means to use SIGHUP, instead of the default SIGTERM.
In this case, the idea is to kill all other processes, so SIGTERM is
appropriate. In case the processes hang, SIGKILL may be another option.

Signed-off-by: Miguel Angel Mulero Martinez <redacted>
net/ddns-scripts/Makefile
net/ddns-scripts/files/usr/lib/ddns/dynamic_dns_updater.sh
git clone https://git.99rst.org/PROJECT