add pgcrypto
This commit is contained in:
parent
075efea7db
commit
9a70f78079
1 changed files with 2 additions and 0 deletions
|
@ -31,5 +31,7 @@ case $1 in
|
|||
rm -f ${pid}
|
||||
daemonize -u ${user} -c ${PGDATA} -o ${log} -a -e ${log} \
|
||||
/usr/bin/postgres
|
||||
|
||||
su - postgres -c "echo 'create extension if not exists pgcrypto;' | psql -U postgres"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue