From b2967deadd951c29869635b534538091fc610be5 Mon Sep 17 00:00:00 2001 From: Cantibra Date: Mon, 6 Jul 2026 12:22:00 +0200 Subject: [PATCH] 6 --- .env | 4 ++-- stalwart/DEBIAN/postinst | 2 +- stalwart/lib/systemd/system/stalwart.service | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index ff7aa77..6e85b35 100644 --- a/.env +++ b/.env @@ -1,2 +1,2 @@ -VERSION_CLI='1.0.8' -VERSION_DAEMON='0.16.9' +VERSION_CLI='1.0.10' +VERSION_DAEMON='0.16.11' diff --git a/stalwart/DEBIAN/postinst b/stalwart/DEBIAN/postinst index 26a1ea6..7d30b12 100644 --- a/stalwart/DEBIAN/postinst +++ b/stalwart/DEBIAN/postinst @@ -26,7 +26,7 @@ case "${1}" in /usr/bin/true fi /usr/bin/chown --quiet --recursive 'stalwart':'root' '/etc/stalwart' - /usr/bin/install --directory --group='root' --mode='770' --owner='stalwart' '/var/lib/stalwart' + /usr/bin/install --directory --group='root' --mode='750' --owner='stalwart' '/var/lib/stalwart' /usr/bin/install --directory --group='stalwart' --mode='750' --owner='stalwart' '/var/log/stalwart' /usr/bin/install --directory --group='stalwart' --mode='750' --owner='stalwart' '/var/logrotate/stalwart' ;; diff --git a/stalwart/lib/systemd/system/stalwart.service b/stalwart/lib/systemd/system/stalwart.service index a5d4128..5477a25 100644 --- a/stalwart/lib/systemd/system/stalwart.service +++ b/stalwart/lib/systemd/system/stalwart.service @@ -11,7 +11,7 @@ Type=simple AmbientCapabilities=CAP_NET_BIND_SERVICE Restart=on-failure RestartSec=5 -EnvironmentFile=-/etc/stalwart/stalwart.env +EnvironmentFile=/etc/stalwart/stalwart.env ExecStart=/usr/sbin/stalwart --config=/etc/stalwart/config.json ExecStartPost=/usr/bin/sh -c "umask '022'; /usr/bin/pgrep --newest 'stalwart' > '/run/stalwart/stalwart.pid'" ExecStop=/usr/bin/rm --force '/run/stalwart/stalwart.pid'