0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-17 11:12:42 +00:00
netdata_netdata/system/systemd/netdata.service.v235.in
Costa Tsaousis 6d90975e02
change the moto and the description of netdata ()
* change the moto and the description of netdata

* Update netdata-installer.sh

* Update netdata.spec.in

* Update Packaging.cmake

* Update makeself-help-header.txt

* Update makeself-license.txt

* Update main.c

* Update netdata.service.in

* Update netdata.service.v235.in
2025-02-23 13:02:22 +02:00

36 lines
1 KiB
Text

# SPDX-License-Identifier: GPL-3.0-or-later
[Unit]
Description=Netdata, X-Ray Vision for your infrastructure!
# append here other services you want netdata to wait for them to start
After=network.target network-online.target nss-lookup.target
Wants=network-online.target nss-lookup.target
[Service]
LogNamespace=netdata
Type=simple
User=root
Group=netdata
EnvironmentFile=-/etc/default/netdata
ExecStart=@sbindir_POST@/netdata -D $EXTRA_OPTS
# saving a big db on slow disks may need some time
TimeoutStopSec=150
# restart netdata if it crashes
Restart=on-failure
RestartSec=30
# Valid policies: other (the system default) | batch | idle | fifo | rr
# To give netdata the max priority, set CPUSchedulingPolicy=rr and CPUSchedulingPriority=99
CPUSchedulingPolicy=batch
# This sets the scheduling priority (for policies: rr and fifo).
# Priority gets values 1 (lowest) to 99 (highest).
#CPUSchedulingPriority=1
# For scheduling policy 'other' and 'batch', this sets the lowest niceness of netdata (-20 highest to 19 lowest).
Nice=0
[Install]
WantedBy=multi-user.target