|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /usr/lib/netdata/system/systemd/ |
# 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=systemd-tmpfiles-setup.service network.target network-online.target nss-lookup.target Wants=systemd-tmpfiles-setup.service network-online.target nss-lookup.target [Service] LogNamespace=netdata Type=simple User=root Group=netdata EnvironmentFile=-/etc/default/netdata ExecStart=/usr/sbin/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