From bdf366b311b07baa27c490e8c3e174b0f829b80d Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 27 Jan 2015 22:52:32 -0500 Subject: [PATCH] anacron: invoke directly instead of triggering the upstart job (which won't fire) --- image/base/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/image/base/Dockerfile b/image/base/Dockerfile index 1a6a021..5d9244d 100644 --- a/image/base/Dockerfile +++ b/image/base/Dockerfile @@ -33,6 +33,7 @@ RUN echo "debconf debconf/frontend select Teletype" | debconf-set-selections &&\ postgresql-contrib-9.3 libpq-dev libreadline-dev \ nginx language-pack-en sudo cron anacron \ psmisc rsyslog vim &&\ + sed -i -e 's/start -q anacron/anacron -s/' /etc/cron.d/anacron &&\ sed -i.bak 's/$ModLoad imklog/#$ModLoad imklog/' /etc/rsyslog.conf &&\ dpkg-divert --local --rename --add /sbin/initctl &&\ sh -c "test -f /sbin/initctl || ln -s /bin/true /sbin/initctl" &&\ -- 2.25.1