12 lines
206 B
Bash
12 lines
206 B
Bash
|
#!/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 "$@"
|