summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
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 813b2421f..53dd9087f 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