ansible/roles/netdata/templates/etc/systemd/system/netdata.service.j2
2021-01-23 18:45:20 -06:00

17 lines
436 B
Django/Jinja

[Unit]
Description=Real time performance monitoring
After=network.target httpd.service squid.service nfs-server.service mysqld.service mysql.service named.service postfix.service
[Service]
Type=simple
User={{ netdata_user_info['user'] }}
Group={{ netdata_user_info['group'] }}
ExecStart=/usr/sbin/netdata -D
Restart=on-failure
# saving a big db on slow disks may need some time
TimeoutStopSec=60
[Install]
WantedBy=multi-user.target