docker-GLPI/service/20-cron/run

8 lines
267 B
Plaintext
Raw Normal View History

#!/bin/sh
. /etc/service/template
msglog "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/*
exec /usr/sbin/cron -f