summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/netdata-core.netdata.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/netdata-core.netdata.service b/debian/netdata-core.netdata.service
index 64bbabd18..e8d5df1d4 100644
--- a/debian/netdata-core.netdata.service
+++ b/debian/netdata-core.netdata.service
@@ -37,8 +37,11 @@ ProtectHome=read-only
ProtectSystem=full
ReadOnlyDirectories=/
+ReadWriteDirectories=/dev
ReadWriteDirectories=/proc/self
-ReadWriteDirectories=/var
+ReadWriteDirectories=/var/cache/netdata
+ReadWriteDirectories=/var/lib/netdata
+ReadWriteDirectories=/var/log
# Access to devices and kernel modules and tunables is required
PrivateDevices=no