set HOME/USER environment variable for fetchmail

This commit is contained in:
casperklein 2024-02-20 20:04:20 +01:00
parent 67faa95b0b
commit 033dac064e
1 changed files with 1 additions and 0 deletions

View File

@ -122,6 +122,7 @@ autorestart=true
stdout_logfile=/var/log/supervisor/%(program_name)s.log
stderr_logfile=/var/log/supervisor/%(program_name)s.log
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
[program:postfix]