ha/service-mgmt/sm/scripts
Bin Qian 88aeba251b Update SM lsb script for quick start
pidof command returns subprocess id when SM main process terminates.
This result a false postive that SM is already running so the start
action is skipped.

Make changes to the SM lsb script to distingrish if a subprocess ID
is returned, and attempt to kill it to speed up recovery of SM.

Revert the change to extend startuptime to 15 seconds back to 5.

Test Cases:
    kill SM process, observe SM process starts immediately after the
    subprocess is killed. SM is recovered within 2 seconds.
    (calculated by last and first logging of SM)

Change-Id: Ida834e7dd31a493ee6193b4d8ee73ebd97513de2
Closes-Bug: 1998349
Signed-off-by: Bin Qian <bin.qian@windriver.com>
2022-12-05 16:10:55 +00:00
..
Makefile Debian: Remove conf files from etc-pmon.d 2022-09-26 13:40:41 +00:00
sm Update SM lsb script for quick start 2022-12-05 16:10:55 +00:00
sm-shutdown.service Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm.conf Update SM lsb script for quick start 2022-12-05 16:10:55 +00:00
sm.logrotate Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm.notification Removing unused flag disable_worker_services 2019-11-02 08:34:56 +08:00
sm.notify Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm.service Remove sm-watchdog service since NFS is now stable 2022-08-19 19:57:43 +00:00
sm.shutdown Remove version from sm folder 2019-09-26 14:11:31 -05:00
sm.troubleshoot Remove sm-watchdog service since NFS is now stable 2022-08-19 19:57:43 +00:00