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
pierwszy sprint
[0tDNS.git]
/
setup_postgres.sh
blob
f0266453ca4cf7eb5a550e7dad5bbb2009ba910f
1
#!/bin/sh
2
3
echo
"Creating 'ztdns' role"
4
sudo
-u
postgres createuser
--no-createdb --no-createrole
\
5
--no-superuser --pwprompt
ztdns
6
7
echo
"Creating 'ztdns' database"
8
sudo
-u
postgres createdb
-O
ztdns ztdns