Fix start script to kill all pids of the GPID to stop sendmailanalyzer processes. Thanks to sirydog81 for the report.

This commit is contained in:
Gilles Darold 2016-08-31 23:41:46 +02:00
parent bb2a958d03
commit 45957f1906

View file

@ -21,7 +21,7 @@ sa_start() {
sa_stop() {
echo 'Stopping SendmailAnalyzer Daemon...'
pid=$(cat $PIDFILE)
kill $pid 1> /dev/null 2> /dev/null
kill -- -$pid 1> /dev/null 2> /dev/null
}
# Restart SendmailAnalyzer: