Correction de bug dans glpi_init.sh

Remplacement de supervisor par runit
Correction de cron qui ne semble pas s'exécuter normalement
This commit is contained in:
root
2020-08-06 10:03:42 +02:00
parent 9cda96d277
commit 815cc5ed55
10 changed files with 51 additions and 20 deletions

6
service/cron/run Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# 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