blob: dfbc232875742bb8b510e565a2dab1a56ce266b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
#change the password
service postgresql start >/dev/null 2>&1
if [ ! -f /.postgres_pass_modified ]; then
/postgres_modify_pass.sh
fi
service postgresql stop >/dev/null 2>&1
#start PostgreSQL
sudo -u postgres /usr/lib/postgresql/9.3/bin/postgres -D /var/lib/postgresql/9.3/main -c config_file=/etc/postgresql/9.3/main/postgresql.conf
exec /usr/libexec/mysqld
|