Fix postdrop handling for systemd systems. (#11885)
Austin S. Hemmelgarn committed
Dec 10, 2021 at 08:30 UTC
2632f3f3eac4d6d68ad90b6f7558a2b2b03c9961
1 file changed
+2
system/netdata.service.in
+2
@@ -71,6 +71,8 @@ ProtectHome=read-only
71
ProtectControlGroups=true
72
# We whitelist this because it's the standard location to listen on a UNIX socket.
73
ReadWriteDirectories=/run/netdata
74
+# This is needed to make email-based alert deliver work if Postfix is the email provider on the system.
75
+ReadWriteDirectories=-/var/spool/postfix/maildrop
76
77
[Install]
78
WantedBy=multi-user.target