archive
This commit is contained in:
16
firefly/postgres/entrypoint.sh
Executable file
16
firefly/postgres/entrypoint.sh
Executable 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
|
||||
Reference in New Issue
Block a user