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/
This commit is contained in:
Amish 2020-04-27 07:23:38 +05:30 committed by GitHub
parent 60c3ad2514
commit 24e3b4fdd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -16,9 +16,6 @@
# the default database size - 1 hour
history = 3600
# 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
@ -26,3 +23,6 @@
[web]
web files owner = root
web files group = netdata
# by default do not expose the netdata port
bind to = localhost

View File

@ -21,7 +21,7 @@ EnvironmentFile=-/etc/default/netdata
ExecStart=/usr/sbin/netdata -D $EXTRA_OPTS
# saving a big db on slow disks may need some time
TimeoutStopSec=60
TimeoutStopSec=150
# restart netdata if it crashes
Restart=on-failure