12 lines
206 B
Bash
Executable File
12 lines
206 B
Bash
Executable File
#!/bin/sh
|
|
set -ef
|
|
|
|
if [ -n "${CITUS_PGPASSWORD+1}" ] ; then
|
|
PGPASSWORD=${CITUS_PGPASSWORD}
|
|
export PGPASSWORD
|
|
unset CITUS_PGPASSWORD
|
|
fi
|
|
|
|
export PATH="${PATH#/usr/local/sbin:}"
|
|
exec postgres "$@"
|