Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

Solve that the rsyslogd.pid file exists, causing rsyslogd to fail to start

aapanel.com55fa26983784
diff --git a/Dockerfiles/dovecot/supervisord.conf b/Dockerfiles/dovecot/supervisord.conf
index 275050c5..b85b2105 100644
--- a/Dockerfiles/dovecot/supervisord.conf
+++ b/Dockerfiles/dovecot/supervisord.conf
@@ -6,7 +6,7 @@ pidfile=/var/run/supervisord.pid
user=root
[program:rsyslog]
-command=/usr/sbin/rsyslogd -n
+command=/usr/sbin/rsyslogd -n -i /run/rsyslogd.pid
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
diff --git a/Dockerfiles/postfix/supervisord.conf b/Dockerfiles/postfix/supervisord.conf
index 57e7fe16..397553b5 100644
--- a/Dockerfiles/postfix/supervisord.conf
+++ b/Dockerfiles/postfix/supervisord.conf
@@ -6,7 +6,7 @@ pidfile=/var/run/supervisord.pid
user=root
[program:rsyslog]
-command=/usr/sbin/rsyslogd -n
+command=/usr/sbin/rsyslogd -n -i /run/rsyslogd.pid
autostart=true
autorestart=true
stdout_logfile=/dev/stdout