mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 22:50:26 +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
|
||||
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
|
||||
|
||||
# Add crontab entries
|
||||
|
Loading…
Reference in New Issue
Block a user