Parallel Shutdown (was Re: Paralell startup)

Bill Nottingham notting at redhat.com
Thu Oct 21 18:19:58 UTC 2004


Jeff Pitman (symbiont at berlios.de) said: 
> I think we'd surprised about the robustness of SIGINT. 
> 
> MySQL:
> /bin/kill `cat /var/run/mysqld/mysqld.pid  2> /dev/null ` > /dev/null 
> 2>&1

That could be easily done in this case by killall/init...

> PostGRE:
> su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl stop -D $PGDATA -s -m 
> fast" > /dev/null 2>&1

That, not so much.

Bill




More information about the fedora-devel-list mailing list