From: Michael Brown Date: Wed, 28 Jan 2015 03:52:32 +0000 (-0500) Subject: anacron: invoke directly instead of triggering the upstart job (which won't fire) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=bdf366b311b07baa27c490e8c3e174b0f829b80d;p=discourse_docker.git anacron: invoke directly instead of triggering the upstart job (which won't fire) --- 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" &&\