Browse Source

Fix cron

master
parent
commit
6ccb31db24
2 changed files with 3 additions and 4 deletions
  1. 1
    1
      Dockerfile
  2. 2
    3
      cron.sh

+ 1
- 1
Dockerfile View File

@@ -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 && \

+ 2
- 3
cron.sh View File

@@ -1,3 +1,2 @@
set -eu

crond -m off
source /etc/default/cron
/usr/sbin/cron

Loading…
Cancel
Save