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:
parent
60c3ad2514
commit
24e3b4fdd5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue