[Unit] Description=Titanium Cloud Maintenance Heartbeat Client After=network.target syslog.service config.service Before=pmon.service mtcClient.service [Service] Type=forking ExecStart=/etc/rc.d/init.d/hbsClient start ExecStop=/etc/rc.d/init.d/hbsClient stop ExecReload=/etc/rc.d/init.d/hbsClient reload PIDFile=/var/run/hbsClient.pid # Failure handling TimeoutStartSec=10s TimeoutStopSec=10s # process recovery is handled by pmond Restart=no RestartSec=5 [Install] WantedBy=multi-user.target