summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-12-10 08:30:28 -0500
committerGitHub <noreply@github.com>2021-12-10 08:30:28 -0500
commit2632f3f3eac4d6d68ad90b6f7558a2b2b03c9961 (patch)
treed4d2cb53937460efad2ef2ea70b62803c7e0122e /system
parenta51acdb9e714719208966e6a211bcdde2a33b782 (diff)
Fix postdrop handling for systemd systems. (#11885)
Diffstat (limited to 'system')
-rw-r--r--system/netdata.service.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/netdata.service.in b/system/netdata.service.in
index 813b2421f1..53dd9087fa 100644
--- a/system/netdata.service.in
+++ b/system/netdata.service.in
@@ -71,6 +71,8 @@ ProtectHome=read-only
ProtectControlGroups=true
# We whitelist this because it's the standard location to listen on a UNIX socket.
ReadWriteDirectories=/run/netdata
+# This is needed to make email-based alert deliver work if Postfix is the email provider on the system.
+ReadWriteDirectories=-/var/spool/postfix/maildrop
[Install]
WantedBy=multi-user.target