X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/a3d1cfa5404bf28b8ae310a01b86e6c0829363f5..92640a35aadb0353e9f20dc395284117cb398927:/docker/postgresql/postgresql_config.sh?ds=sidebyside diff --git a/docker/postgresql/postgresql_config.sh b/docker/postgresql/postgresql_config.sh deleted file mode 100755 index 1934b01736..0000000000 --- a/docker/postgresql/postgresql_config.sh +++ /dev/null @@ -1,28 +0,0 @@ -#! /bin/sh - -# Configure postgresql in a docker instance. - -# Make sure our environment is set appropriately. -[ "$POSTGRES_ROOT_PW" ] || (echo "POSTGRES_ROOT_PW not set, failing"; exit 1) -[ "$ARVADOS_DEV_USER" ] || (echo "ARVADOS_DEV_USER not set, failing"; exit 1) -[ "$ARVADOS_DEV_PW" ] || (echo "ARVADOS_DEV_PW not set, failing"; exit 1) -[ "$ARVADOS_DEV_DB" ] || (echo "ARVADOS_DEV_DB not set, failing"; exit 1) -[ "$ARVADOS_TEST_USER" ] || (echo "ARVADOS_TEST_USER not set, failing"; exit 1) -[ "$ARVADOS_TEST_PW" ] || (echo "ARVADOS_TEST_PW not set, failing"; exit 1) -[ "$ARVADOS_TEST_DB" ] || (echo "ARVADOS_TEST_DB not set, failing"; exit 1) -[ "$ARVADOS_PROD_USER" ] || (echo "ARVADOS_PROD_USER not set, failing"; exit 1) -[ "$ARVADOS_PROD_PW" ] || (echo "ARVADOS_PROD_PW not set, failing"; exit 1) -[ "$ARVADOS_PROD_DB" ] || (echo "ARVADOS_PROD_DB not set, failing"; exit 1) - -/bin/su postgres -c '/usr/lib/postgresql/9.1/bin/postgres --single -D /var/lib/postgresql/9.1/main -c config_file=/etc/postgresql/9.1/main/postgresql.conf' <