docker-GLPI/web-builder/service/cron

11 lines
382 B
Plaintext
Raw Normal View History

#!/bin/sh
. /etc/service/template
msglog green "Starting Cron..."
2024-03-28 18:20:48 +01:00
/etc/service/php
# Touch cron files to fix 'NUMBER OF HARD LINKS > 1' issue. See https://github.com/phusion/baseimage-docker/issues/198
2024-03-28 18:20:48 +01:00
chown -R apache:apache /var/www/glpi /etc/glpi /var/lib/glpi /var/log/glpi
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