Start cron when starting the Cloud docker

This will regularly run logrotate, preventing the build-up of log files
of multiple gigabytes.
This commit is contained in:
2017-05-17 10:08:27 +02:00
parent 2892a46a27
commit b93448f682

View File

@@ -18,6 +18,9 @@ if [ ! -f /installed ]; then
touch /installed
fi
# Make sure that log rotation works.
service cron start
if [ "$DEV" = "true" ]; then
echo "Running in development mode"