xref: /OK3568_Linux_fs/buildroot/package/collectd/collectd.service (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun[Unit]
2*4882a593SmuzhiyunDescription=Statistics collection and monitoring daemon
3*4882a593SmuzhiyunAfter=local-fs.target network.target
4*4882a593SmuzhiyunRequires=local-fs.target network.target
5*4882a593SmuzhiyunConditionPathExists=/etc/collectd.conf
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun[Service]
8*4882a593SmuzhiyunType=notify
9*4882a593SmuzhiyunNotifyAccess=main
10*4882a593SmuzhiyunEnvironmentFile=-/etc/default/collectd
11*4882a593SmuzhiyunExecStartPre=/usr/sbin/collectd -t
12*4882a593SmuzhiyunExecStart=/usr/sbin/collectd
13*4882a593SmuzhiyunRestart=always
14*4882a593SmuzhiyunRestartSec=10
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun[Install]
17*4882a593SmuzhiyunWantedBy=multi-user.target
18