Fix postgrey Restart

After you have fixed the PID problem, you'll notice that "service postgrey restart" still does nothing. To fix it:

# nano /etc/init.d/postgrey

comment out almost everything in the do_stop section, and limit it to just these two lines:

kill `ps aux | grep postg | egrep -v "(restartpostgrey|grep)" | cut -d " " -f 2`
rm -f $PIDFILE
tips/fix_postgrey_restart.txt · Last modified: 2023-08-06 19:12 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki