The current init script installed for policyd-weight runs
"/usr/lib/postfix/policyd-weight stop" to shut down the server. However, that
does not kill the cache process:
-----
# /etc/init.d/policyd-weight start
* Starting policyd-weight ...
$
[ ok ]
# ps -ef | grep policyd-weight
polw 9144 1 0 13:46 ? 00:00:00 policyd-weight (master)
polw 9145 9144 0 13:46 ? 00:00:00 policyd-weight (cache)
# /etc/init.d/policyd-weight stop
* Stopping policyd-weight ...
$
[ ok ]
# ps -ef | grep policyd-weight
polw 9145 1 0 13:46 ? 00:00:00 policyd-weight (cache)
-----
The init script should use the -k option, which also cleans up the cache
process:
-----
# /etc/init.d/policyd-weight start
* Starting policyd-weight ...
$
[ ok ]
# ps -ef | grep policyd-weight
polw 9239 1 0 13:47 ? 00:00:00 policyd-weight (master)
polw 9240 9239 0 13:47 ? 00:00:00 policyd-weight (cache)
# /usr/lib/postfix/policyd-weight stop -k
terminating
# ps -ef | grep policyd-weight
-----