Mise à jour
Séparation de l'environnement de build pour consommer moins d'espace lors de la construction d'une nouvelle image.
This commit is contained in:
7
alpine/web-builder/service/20-cron/run
Normal file
7
alpine/web-builder/service/20-cron/run
Normal file
@ -0,0 +1,7 @@
|
||||
#!/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/*
|
||||
exec /usr/sbin/crond -f -L /dev/stdout
|
Reference in New Issue
Block a user