This commit is contained in:
bel
2021-09-14 06:20:35 -06:00
commit c1b827fba3
40 changed files with 1509 additions and 0 deletions

16
firefly/postgres/entrypoint.sh Executable file
View File

@@ -0,0 +1,16 @@
#! /bin/bash
set -e
echo " : servicing" >&2
for s in postgresql nginx php7.3-fpm cron; do
service $s restart
done
echo " : restoring" >&2
bash /restore.sh $i
echo " : backing" >&2
bash /backup.sh
echo " : sleeping" >&2
sleep 10
echo " : pausering" >&2
exec /xfer/pauser