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