Fix cron

master
parent 66efd77d93
commit 6ccb31db24
  1. 2
      Dockerfile
  2. 5
      cron.sh

@ -3,7 +3,7 @@ FROM node:latest
ENV HOSTNAME=${HOSTNAME:-haraka}
RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list && \
apt-get update && apt-get upgrade -y && apt-get -t jessie-backports install -y supervisor certbot && \
apt-get update && apt-get upgrade -y && apt-get -t jessie-backports install -y supervisor certbot cron && \
rm -rf /var/lib/apt/lists/* && \
mkdir /var/log/supervisord && \
mkdir /var/run/supervisord && \

@ -1,3 +1,2 @@
set -eu
crond -m off
source /etc/default/cron
/usr/sbin/cron

Caricamento…
Annulla
Salva