POSTGRES_USER=super
POSTGRES_PASS=HelloWorld
POSTGRES_DATA_DIR=/data
POSTGRES_DB=jagtran
Starting PostgreSQL...
2014-09-22 19:34:14 UTC FATAL: data directory "/data" has wrong ownership
2014-09-22 19:34:14 UTC HINT: The server must be started by the user that owns the data directory.
POSTGRES_USER=super POSTGRES_PASS=HelloWorld POSTGRES_DATA_DIR=/data POSTGRES_DB=jagtran Starting PostgreSQL... 2014-09-22 19:34:14 UTC FATAL: data directory "/data" has wrong ownership 2014-09-22 19:34:14 UTC HINT: The server must be started by the user that owns the data directory.