summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-26 16:40:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2020-10-20 08:18:13 +0000
commit4d80551b09002f92ffe02eef73959c69c6d0a9a0 (patch)
treeb84a59a890db602933257362ef456a4ad2d65fb3
parentDisabling to send emails by default. (diff)
downloadnetdata-4d80551b09002f92ffe02eef73959c69c6d0a9a0.tar.xz
netdata-4d80551b09002f92ffe02eef73959c69c6d0a9a0.zip
Temporarily disable read-only root in netdata-core systemd unit to unbreak netdata API usage.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/netdata-core.netdata.service10
1 files changed, 0 insertions, 10 deletions
diff --git a/debian/netdata-core.netdata.service b/debian/netdata-core.netdata.service
index 53b6b9c..d95710d 100644
--- a/debian/netdata-core.netdata.service
+++ b/debian/netdata-core.netdata.service
@@ -36,16 +36,6 @@ PrivateTmp=true
ProtectHome=read-only
ProtectSystem=full
-ReadOnlyDirectories=/
-ReadWriteDirectories=/dev
-ReadWriteDirectories=/proc/self
-ReadWriteDirectories=/var/cache/netdata
-ReadWriteDirectories=/var/lib/netdata
-ReadWriteDirectories=/var/log
-ReadWriteDirectories=/run
-
-RuntimeDirectory=netdata
-
# Access to devices and kernel modules and tunables is required
PrivateDevices=no
ProtectKernelModules=no