set HOME/USER environment variable for fetchmail
This commit is contained in:
parent
67faa95b0b
commit
033dac064e
|
@ -122,6 +122,7 @@ autorestart=true
|
||||||
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
stdout_logfile=/var/log/supervisor/%(program_name)s.log
|
||||||
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
stderr_logfile=/var/log/supervisor/%(program_name)s.log
|
||||||
user=fetchmail
|
user=fetchmail
|
||||||
|
environment=HOME="/var/lib/fetchmail",USER="fetchmail"
|
||||||
command=/usr/bin/fetchmail -f /etc/fetchmailrc --nodetach --daemon "%(ENV_FETCHMAIL_POLL)s" -i /var/lib/fetchmail/.fetchmail-UIDL-cache --pidfile /var/run/fetchmail/fetchmail.pid
|
command=/usr/bin/fetchmail -f /etc/fetchmailrc --nodetach --daemon "%(ENV_FETCHMAIL_POLL)s" -i /var/lib/fetchmail/.fetchmail-UIDL-cache --pidfile /var/run/fetchmail/fetchmail.pid
|
||||||
|
|
||||||
[program:postfix]
|
[program:postfix]
|
||||||
|
|
Loading…
Reference in New Issue