4c8abe18d3
Modified mtce and mtce-control to address the following failing services on Debian: hbsAgent.service hbsClient.service hwmon.service lmon.service mtcalarm.service mtclog.service runservices.service Applied fix: - Included modified .service files for debian directly into into the deb_folder. - Changed the init files to account for the different locations of the init-functions and service daemons on Debian and CentOS - Included "override_dh_installsystemd" section to rules in order to start services at boot. Test Plan: PASS: Package installed and ISO built successfully PASS: Ran "systemctl list-units --failed" and verified that the services are not failing PASS: Ran "systemctl status <service_name>" for each service and verified that they are active Story: 2009101 Task: 44192 Signed-off-by: Matheus Machado Guilhermino <Matheus.MachadoGuilhermino@windriver.com> Change-Id: I50915c17d6f50f5e20e6448d3e75bfe54a75acc0
24 lines
478 B
Desktop File
24 lines
478 B
Desktop File
[Unit]
|
|
Description=StarlingX Maintenance Heartbeat Client
|
|
After=network.target syslog.service config.service
|
|
Before=pmon.service mtcClient.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/etc/init.d/hbsClient start
|
|
ExecStop=/etc/init.d/hbsClient stop
|
|
ExecReload=/etc/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
|
|
|