ubuntu-buildroot/package/collectd/collectd.service

18 lines
390 B
SYSTEMD
Raw Normal View History

2024-04-01 15:19:46 +00:00
[Unit]
Description=Statistics collection and monitoring daemon
After=local-fs.target network.target
Requires=local-fs.target network.target
ConditionPathExists=/etc/collectd.conf
[Service]
Type=notify
NotifyAccess=main
EnvironmentFile=-/etc/default/collectd
ExecStartPre=/usr/sbin/collectd -t
ExecStart=/usr/sbin/collectd
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target