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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user