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
18 lines
326 B
Desktop File
18 lines
326 B
Desktop File
[Unit]
|
|
Description=Starling-X Maintenance Link Monitor
|
|
|
|
After=config.service
|
|
After=syslog-ng.service
|
|
Before=pmon.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/etc/init.d/lmon start
|
|
ExecStop=/etc/init.d/lmon stop
|
|
ExecReload=/etc/init.d/lmon reload
|
|
PIDFile=/var/run/lmond.pid
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|