Commit graph

10 commits

Author SHA1 Message Date
s-aga-r
f4efa165b6
fix: correct systemd service description (#1011) 2025-01-06 17:09:12 +01:00
mdecimus
eada3ab687 Use host FQDN in install script (fixes #1003) 2024-12-15 19:00:53 +01:00
mdecimus
71c3c06c01 Add enterprise feature to directory crate (#783 ).
Some checks failed
trivy / Check (push) Failing after -9m10s
2024-09-22 10:36:40 +02:00
mdecimus
35ccf92163 Fix useradd command (closes #659) 2024-08-09 10:03:58 +02:00
mdecimus
50a2f50e58 REUSE-compliant licensing 2024-06-25 19:57:25 +02:00
Lukas Lihotzki
b5a5858ec2
Drop root privileges in systemd unit (#402) 2024-05-06 14:53:04 +02:00
Linus
0d78f66bcf
Remove StandardOutput, StandardError in service (#390)
systemd 249 (used in Ubuntu 22.04 LTS) throws the following error:

/etc/systemd/system/stalwart-mail.service:16: Standard output type
syslog is obsolete, automatically updating to journal. Please update
your unit file, and consider removing the setting altogether.

/etc/systemd/system/stalwart-mail.service:17: Standard output type
syslog is obsolete, automatically updating to journal. Please update
your unit file, and consider removing the setting altogether.

This is caused by StandardOutput=syslog and StandardError=syslog found
in install.sh, which are as the error suggests obsolete options that
should not be used.[1] They have "correct" settings in
stalwart-mail.service, but these settings are also the implicit
default, which means they are not necessary.[1]

This was patched in systemd #15812 in May, 2020.[2]

I have tested this by simply removing the values in
/etc/systemd/system/stalwart-mail.service on my server, running
'daemon-reload' and restarting the service, then confirming that logs
are still being written to journalctl as well as /opt/stalwart-mail/logs

[1]: <https://github.com/systemd/systemd/issues/15807#issuecomment-628528787>
[2]: <https://github.com/systemd/systemd/pull/15812>
2024-05-05 15:59:13 +02:00
mdecimus
0caaf43d31 v0.7.0 2024-04-09 12:54:49 +02:00
mdecimus
c1ae11c84b Install script fixes, moved SMTP management API to JMAP listener. 2023-07-14 16:38:13 +02:00
mdecimus
9c6c53e21c CI/CD tweaks. 2023-07-11 17:16:08 +02:00