1
0
mirror of https://github.com/phusion/baseimage-docker.git synced 2026-03-26 12:29:07 +00:00

Touch cron files to fix 'NUMBER OF HARD LINKS > 1' issue.

This commit is contained in:
Ivan Onushkin
2019-04-05 20:57:00 +03:00
parent 14394bcb3f
commit 386b8284d8

View File

@@ -1,2 +1,8 @@
#!/bin/sh
# Touch cron files to fix 'NUMBER OF HARD LINKS > 1' issue. See https://github.com/phusion/baseimage-docker/issues/198
touch -c /var/spool/cron/crontabs/*
touch -c /etc/crontab
touch -c /etc/cron.d/* /etc/cron.daily/* /etc/cron.hourly/* /etc/cron.monthly/* /etc/cron.weekly/*
exec /usr/sbin/cron -f