]> piware.de Git - bin.git/commitdiff
cleanpg: update for 8.2
authormartin@piware.de <>
Thu, 5 Oct 2006 22:06:53 +0000 (00:06 +0200)
committermartin@piware.de <>
Thu, 5 Oct 2006 22:06:53 +0000 (00:06 +0200)
cleanpg

diff --git a/cleanpg b/cleanpg
index 725713608f4d890953e49c9805de230e82651739..5bd6e0f0a122abd0d34510001648d487b476805f 100755 (executable)
--- a/cleanpg
+++ b/cleanpg
@@ -2,5 +2,6 @@
 sudo /etc/init.d/postgresql-7.4 stop
 sudo /etc/init.d/postgresql-8.0 stop
 sudo /etc/init.d/postgresql-8.1 stop
-sudo killall pg_autovacuum postmaster
+sudo /etc/init.d/postgresql-8.2 stop
+sudo killall pg_autovacuum postmaster postgres
 sudo rm -rf /etc/postgresql /var/lib/postgresql/ /var/log/postgresql/ /tmp/postgresql-testsuite/ /var/run/postgresql/*