]> piware.de Git - bin.git/blob - cleanpg
postinst-setup: some fixes
[bin.git] / cleanpg
1 #!/bin/sh
2 sudo /etc/init.d/postgresql-7.4 stop
3 sudo /etc/init.d/postgresql-8.0 stop
4 sudo /etc/init.d/postgresql-8.1 stop
5 sudo /etc/init.d/postgresql-8.2 stop
6 sudo killall pg_autovacuum postmaster postgres
7 sudo rm -rf /etc/postgresql /var/lib/postgresql/ /var/log/postgresql/ /tmp/postgresql-testsuite/ /var/run/postgresql/*