docker-GLPI/alpine/web-builder/service/20-cron/run

8 lines
289 B
Plaintext
Raw Normal View History

#!/bin/sh
. /etc/service/template
msglog green "Starting Cron..."
# Touch cron files to fix 'NUMBER OF HARD LINKS > 1' issue. See https://github.com/phusion/baseimage-docker/issues/198
touch -c /etc/crontab /etc/cron.*/* /var/spool/cron/crontabs/*
2020-08-06 18:26:12 +02:00
exec /usr/sbin/crond -f -L /dev/stdout