From 3b5ad875486a4076853b21f22d387d5dfb9f6fc4 Mon Sep 17 00:00:00 2001 From: Hadrien Date: Wed, 16 Feb 2022 01:46:15 +0100 Subject: [PATCH] Disable `RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6` for SMTP (https://github.com/YunoHost-Apps/uptime-kuma_ynh/issues/6) --- conf/systemd.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 387ffe5..6ce87cb 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -18,7 +18,8 @@ StandardError=inherit NoNewPrivileges=yes PrivateTmp=yes PrivateDevices=yes -RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 +# May conflict with SMTP: https://github.com/YunoHost-Apps/uptime-kuma_ynh/issues/6 +# RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 RestrictNamespaces=yes RestrictRealtime=yes DevicePolicy=closed