Skip to content

Commit f081bcb

Browse files
committed
not sure why container keeps exiting when docker-composed
1 parent 08106df commit f081bcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ if [ -z "${DISABLE_CRON}" ]; then
8484
echo "${CRON_TIME} /backup.sh >> /mongo_backup.log 2>&1" > /crontab.conf
8585
crontab /crontab.conf
8686
echo "=> Running cron job"
87-
exec cron && tail -f /mongo_backup.log
87+
cron && tail -f /mongo_backup.log
8888
fi

0 commit comments

Comments
 (0)