fix: update cron command for cronie

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-01-27 18:45:49 +01:00
parent ba1dae3320
commit b632612e7d
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -6,7 +6,7 @@ if [ "$1" == "update" ]; then
cd /app || exit 1
exec su user -c "bash ./update.sh"
elif [ "$1" == "cron" ]; then
exec cron -f
exec crond -f
else
exec "$@"
fi