mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-28 14:05:41 +00:00
Merge pull request #3 from uvensys/add_background_jobs_to_docker
add environment to cron
This commit is contained in:
commit
ff5270fbad
@ -113,7 +113,7 @@ RUN mkdir /etc/services.d/gunicorn && \
|
|||||||
|
|
||||||
# Create service script for cron
|
# Create service script for cron
|
||||||
RUN mkdir /etc/services.d/cron && \
|
RUN mkdir /etc/services.d/cron && \
|
||||||
echo $'#!/usr/bin/execlineb -P\ncrond -f\n' > /etc/services.d/cron/run && \
|
echo $'#!/usr/bin/execlineb -P\nwith-contenv\ncrond -f\n' > /etc/services.d/cron/run && \
|
||||||
chmod +x /etc/services.d/cron/run
|
chmod +x /etc/services.d/cron/run
|
||||||
|
|
||||||
# Add crontab entries
|
# Add crontab entries
|
||||||
|
Loading…
Reference in New Issue
Block a user