@cryptotaxi247 / netdata-1 / commits / 24e3b4fdd

bind to should be in [web] section and update netdata.service.v235.in too (#8454)

* Update netdata.service.v235.in too Increase timeout for systemd service shutdown to give time to flush the db. When changes are made to netdata.service.in similar changes should be made to netdata.service.v235.in too. * bind to should be in [web] section See documentation: https://docs.netdata.cloud/web/server/

Amish committed Apr 27, 2020 at 07:23 UTC 24e3b4fdd5625afc31e98359501d0f2df7fbb366
2 files changed +4 -4
system/netdata.conf
+3 -3
@@ -16,9 +16,6 @@
16 # the default database size - 1 hour
17 history = 3600
18
19 - # by default do not expose the netdata port
20 - bind to = localhost
21 -
19 # some defaults to run netdata with least priority
20 process scheduling policy = idle
21 OOM score = 1000
@@ -26,3 +23,6 @@
23 [web]
24 web files owner = root
25 web files group = netdata
26 +
27 + # by default do not expose the netdata port
28 + bind to = localhost
system/netdata.service.v235.in
+1 -1
@@ -21,7 +21,7 @@ EnvironmentFile=-/etc/default/netdata
21 ExecStart=/usr/sbin/netdata -D $EXTRA_OPTS
22
23 # saving a big db on slow disks may need some time
24 -TimeoutStopSec=60
24 +TimeoutStopSec=150
25
26 # restart netdata if it crashes
27 Restart=on-failure