Fix Cron
This commit is contained in:
parent
e5a7f0c4d3
commit
c4b43e0afe
@ -5,6 +5,7 @@ COPY ./images/php/cron/conf.d/psc /etc/cron.d/
|
|||||||
COPY ./images/php/cron/bin/ /usr/bin/
|
COPY ./images/php/cron/bin/ /usr/bin/
|
||||||
RUN chmod +x /usr/bin/start-cron.sh
|
RUN chmod +x /usr/bin/start-cron.sh
|
||||||
RUN chmod +x /usr/bin/set-env.sh
|
RUN chmod +x /usr/bin/set-env.sh
|
||||||
|
RUN chmod 0600 /etc/cron.d/psc
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y cron rsyslog
|
RUN apt-get update && apt-get install -y cron rsyslog
|
||||||
RUN sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
|
RUN sed -i '/imklog/s/^/#/' /etc/rsyslog.conf
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user