xref: /OK3568_Linux_fs/buildroot/package/collectd/collectd.service (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1[Unit]
2Description=Statistics collection and monitoring daemon
3After=local-fs.target network.target
4Requires=local-fs.target network.target
5ConditionPathExists=/etc/collectd.conf
6
7[Service]
8Type=notify
9NotifyAccess=main
10EnvironmentFile=-/etc/default/collectd
11ExecStartPre=/usr/sbin/collectd -t
12ExecStart=/usr/sbin/collectd
13Restart=always
14RestartSec=10
15
16[Install]
17WantedBy=multi-user.target
18