Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set -e
- #if [ "$1" = 'postgres' ]; then
- # chown -R postgres "$PGDATA"
- #
- # if [ -z "$(ls -A "$PGDATA")" ]; then
- # gosu postgres initdb
- # fi
- #
- # exec gosu postgres "$@"
- #fi
- exec $@
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement