mirror of
https://github.com/sstent/containers.git
synced 2026-01-25 16:41:51 +00:00
testing git list
This commit is contained in:
@@ -102,7 +102,7 @@ fi
|
|||||||
if [ "$NOMAD_TASK_NAME" == "db-sync" ]; then
|
if [ "$NOMAD_TASK_NAME" == "db-sync" ]; then
|
||||||
echo "Starting DBsync: sleep"
|
echo "Starting DBsync: sleep"
|
||||||
#give time for app to datart properly
|
#give time for app to datart properly
|
||||||
sleep 1m
|
sleep 15m
|
||||||
echo "Starting DBsync"
|
echo "Starting DBsync"
|
||||||
exec flock -x /configbackup/${NOMAD_GROUP_NAME}_litesync.lock /usr/local/bin/litestream replicate -config /local/litestream.yml
|
exec flock -x /configbackup/${NOMAD_GROUP_NAME}_litesync.lock /usr/local/bin/litestream replicate -config /local/litestream.yml
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user