1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=System statistics collection daemon After=local-fs.target network.target [Service] Type=forking PIDFile=/run/collectdmon.pid ExecStart=/usr/sbin/collectdmon ExecReload=/bin/kill -HUP $MAINPID Restart=always [Install] WantedBy=multi-user.target