2020-08-06 16:20:43 +02:00
|
|
|
#!/bin/sh
|
|
|
|
. /etc/service/template
|
|
|
|
|
2020-08-06 16:23:54 +02:00
|
|
|
msglog green "Starting Cron..."
|
2024-03-28 18:20:48 +01:00
|
|
|
/etc/service/php
|
|
|
|
|
2020-08-06 16:20:43 +02:00
|
|
|
# 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
|
2020-08-06 16:20:43 +02:00
|
|
|
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
|