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
439 B
Desktop File
24 lines
439 B
Desktop File
[Unit]
|
|
Description=StarlingX Maintenance Logger
|
|
After=network.target syslog.service config.service
|
|
Before=pmon.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/etc/init.d/mtclog start
|
|
ExecStop=/etc/init.d/mtclog stop
|
|
ExecReload=/etc/init.d/mtclog reload
|
|
PIDFile=/var/run/mtclogd.pid
|
|
|
|
# Failure handling
|
|
TimeoutStartSec=10s
|
|
TimeoutStopSec=10s
|
|
|
|
# process recovery is handled by pmond
|
|
Restart=no
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|