summaryrefslogtreecommitdiffstats
path: root/system/netdata.conf
diff options
context:
space:
mode:
authorAmish <3330468+amishmm@users.noreply.github.com>2020-01-30 03:45:32 +0530
committerGitHub <noreply@github.com>2020-01-30 08:15:32 +1000
commit2979efe03161499e9a53f76d843c2fd7e5006a92 (patch)
treefdb94096c30a18fa6405a1c8e44f18db2395ad12 /system/netdata.conf
parentf5a043ce21642a68c7bef7363163d308edd97074 (diff)
Better systemd service file (#7790)
* Provide a new service file for systemd v235+ Let systemd create directories, instead of via ExecStartPre. * Do not set global options in service file via -W option. The default set by service file are anyway the defaults used by netdata. Better place is to mention them in netdata.conf and allow user to change those options via netdata.conf file instead of changing in service file.
Diffstat (limited to 'system/netdata.conf')
-rw-r--r--system/netdata.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/system/netdata.conf b/system/netdata.conf
index 7d7c54f420..b3c2b2c68f 100644
--- a/system/netdata.conf
+++ b/system/netdata.conf
@@ -19,6 +19,10 @@
# by default do not expose the netdata port
bind to = localhost
+ # some defaults to run netdata with least priority
+ process scheduling policy = idle
+ OOM score = 1000
+
[web]
web files owner = root
web files group = netdata