mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-14 11:04:28 +08:00
394b899578
Signed-off-by: Simon L <szaimen@e.mail.de>
5 lines
178 B
Bash
5 lines
178 B
Bash
#!/bin/bash
|
|
|
|
test -f "/mnt/data/backup-is-running" && exit 0
|
|
|
|
psql -d "postgresql://oc_$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/$POSTGRES_DB" -c "select now()" || exit 1
|