From 5885eaf3f8ce6e2cb330d3c9f3ab338e76968f8e Mon Sep 17 00:00:00 2001 From: Teal Date: Mon, 22 Apr 2024 17:41:32 +0200 Subject: [PATCH] Update stalwart-mail.service (#373) systemd deprecated `syslog` output and automatically converts it to `journal`. Making the change in the unit file will silence the warning notice on service (re)start. --- resources/systemd/stalwart-mail.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/systemd/stalwart-mail.service b/resources/systemd/stalwart-mail.service index ef13e425..10f70bb1 100644 --- a/resources/systemd/stalwart-mail.service +++ b/resources/systemd/stalwart-mail.service @@ -13,8 +13,8 @@ Restart=on-failure RestartSec=5 ExecStart=__PATH__/bin/stalwart-mail --config=__PATH__/etc/config.toml PermissionsStartOnly=true -StandardOutput=syslog -StandardError=syslog +StandardOutput=journal +StandardError=journal SyslogIdentifier=stalwart-mail [Install]