From 033dac064e63c87c0999c3af25b5dc8db6e2dcff Mon Sep 17 00:00:00 2001 From: casperklein Date: Tue, 20 Feb 2024 20:04:20 +0100 Subject: [PATCH] set HOME/USER environment variable for fetchmail --- target/supervisor/conf.d/supervisor-app.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/target/supervisor/conf.d/supervisor-app.conf b/target/supervisor/conf.d/supervisor-app.conf index 50a7acc3..7f106456 100644 --- a/target/supervisor/conf.d/supervisor-app.conf +++ b/target/supervisor/conf.d/supervisor-app.conf @@ -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]