mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-22 07:26:55 +00:00
nextcloud container - add exit to cronjob
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
6cd260a99a
commit
d99d0240e0
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ wait_for_cron() {
|
||||||
sleep 5
|
sleep 5
|
||||||
done
|
done
|
||||||
echo "Cronjob successfully exited."
|
echo "Cronjob successfully exited."
|
||||||
set +x
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
trap wait_for_cron SIGINT SIGTERM
|
trap wait_for_cron SIGINT SIGTERM
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue