From fd0cd63462b0e940cc830ec9fa1c7024ef29b609 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Mon, 27 Jun 2022 11:03:31 -0400 Subject: [PATCH] Workaround postgrey reload issue in jammy --- ehdd/startup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ehdd/startup.sh b/ehdd/startup.sh index 1d8aa1f9..897c7dae 100755 --- a/ehdd/startup.sh +++ b/ehdd/startup.sh @@ -14,7 +14,9 @@ if [ -s /etc/mailinabox.conf ]; then systemctl restart mailinabox systemctl start miabldap-capture # since postgrey's local client whitelist is in user-data, reload - # to ensure postgrey daemon has it - systemctl reload postgrey + # to ensure postgrey daemon has it. + # + # TODO: this should be 'reload' but is broken in jammy (reload fails on a systemctl permissions issue accessing postgrey's pid file) + systemctl restart postgrey fi