repo.or.cz
/
0tDNS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add sample database connection config file
[0tDNS.git]
/
cleanup_postgres.sh
blob
aff6989fdd400c37f820638388a2ad7f70aa43df
1
#!/bin/sh
2
3
echo
"Dropping 'ztdns' database and role"
4
cat
| sudo
-u
postgres psql
<<EOF
5
drop database ztdns;
6
drop role ztdns;
7
EOF