# SPDX-License-Identifier: GPL-3.0-or-later
[Unit]
Description=Real time performance monitoring
RequiresMountsFor=/var
After=network.target

[Service]
Type=simple
ExecStartPre=/bin/mkdir -p /var/log/netdata
ExecStartPre=/bin/chown -R root:netdata /var/log/netdata
ExecStart=/usr/sbin/netdata -D -u root
ExecStop=/usr/bin/kill_netdata

[Install]
WantedBy=multi-user.target
