Commit | Line | Data |
---|---|---|
da1fb55e S |
1 | #!/bin/bash |
2 | ||
3 | if [ ! -f /shared/postgres_data/PG_VERSION ]; then | |
4 | mkdir -p /shared/postgres_data | |
da1fb55e S |
5 | chown -R postgres:postgres /shared/postgres_data |
6 | chmod 700 /shared/postgres_data | |
3447089f | 7 | cp -R /shared/postgres_data_orig/* /shared/postgres_data |
36613df9 S |
8 | chown -R postgres:postgres /shared/postgres_data |
9 | chmod 700 /shared/postgres_data | |
da1fb55e | 10 | fi |