Created attachment 184708 [details]
Wait for smokeping to terminate
With smokeping busy pinging a few hundred hosts it will often not terminate immediately when asked to do so. Therefore restarting is often impossible because the old smokeping still runs when a new one tries to start.
I think a simple `wait_for_pids` should do the trick. Please see the attached diff.
A commit references this bug:
Date: Mon Jul 31 22:15:04 UTC 2017
New revision: 447003
Add a wait_for_pids at the end of the rc script stop function, waiting for the
daemon to stops. With smokeping busy pinging a few hundred hosts it often occurs
that the daemon stops after the rc call completion failing a restart.
Submitted by: firstname.lastname@example.org