add pgcrypto

This commit is contained in:
f 2021-02-02 21:01:42 -03:00
parent 075efea7db
commit 9a70f78079

View file

@ -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