metal/mtce-common/cgts-mtce-common-1.0/scripts/hbsClient.service
Dean Troyer 18922761a6 StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:36:43 -07:00

24 lines
498 B
Desktop File

[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