add missing log about postgres running in backup.sh
This commit is contained in:
@@ -149,6 +149,8 @@ if ! compose exec -T postgres pg_isready -U "$POSTGRES_USER" -d "$POSTGRES_DB" >
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "PostgreSQL is running and accepting connections."
|
||||||
|
|
||||||
# Check if the script is running from an interactive terminal
|
# Check if the script is running from an interactive terminal
|
||||||
if [[ ! -r /dev/tty ]]; then
|
if [[ ! -r /dev/tty ]]; then
|
||||||
echo "Run this script from an interactive terminal (for example: ssh -t)." >&2
|
echo "Run this script from an interactive terminal (for example: ssh -t)." >&2
|
||||||
|
|||||||
Reference in New Issue
Block a user