mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 18:15:29 +02:00
Enable user definable fetchmail poll times (#731)
* Enable user definable fetchmail poll times * create new ENV variable FETCHMAIL_POLL in target/start-mailserver.sh * change --daemon setting in supervisor-app.conf to use ENV var * Put FETCHMAIL_POLL env variable in Dockerfile to handle case where user does not specify it in their docker-compose.yml
This commit is contained in:
parent
a2efdab5dd
commit
5961b31e91
3 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,7 @@ autorestart=true
|
|||
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
||||
user=fetchmail
|
||||
command=/usr/bin/fetchmail -f /etc/fetchmailrc -v --nodetach --daemon 300 -i /var/lib/fetchmail/.fetchmail-UIDL-cache --pidfile /var/run/fetchmail/fetchmail.pid
|
||||
command=/usr/bin/fetchmail -f /etc/fetchmailrc -v --nodetach --daemon %(ENV_FETCHMAIL_POLL)s -i /var/lib/fetchmail/.fetchmail-UIDL-cache --pidfile /var/run/fetchmail/fetchmail.pid
|
||||
|
||||
[program:postfix]
|
||||
startsecs=0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue