diff --git a/run.sh b/run.sh index ea11ae7..b2e745b 100755 --- a/run.sh +++ b/run.sh @@ -34,6 +34,6 @@ crond -f -l 8 -L /mysql_backup.log & echo "Listening on crond, and wait..." -while : ; do sleep 1 ; done +tail -f /dev/null & wait $! echo "Script is shutted down." \ No newline at end of file