04055390fa
Many new services being added to our system are no longer accompanied with an init script ; only a service file. With the migration from sysvinit to systemd pmond still requires process conf files to provide a script label. This update removes that dependency. Instead, pmond will use the service or script label to find the most appropriate process failure recover method while handling the omition of either but not both of the service and script labels. The change is to first search for a service file that corresponds with the service label in the conf file. If the service label does not exist then the script label is looked at. If the basename of the script has a corresponding service file then use it. If no service file is found then the full pathed script is searched for. If no script file is found then the process monitor errors out. This update also makes an improvement to how pmond deals with the absence of the hostw process. Current code base blocks startup if it cannot connect to the hostw process. This update implements host watchdog socket failure auto recovery while continuing to monitor processes. With this update, if the host watchdog process is restarted or is not running then pmond will continue to monitor processes while periodically trying to recover connection to the host watchdog once it does recover. Change-Id: Icf27090d4d00954195b0ac931474587c67341207 Signed-off-by: Jack Ding <jack.ding@windriver.com> |
||
---|---|---|
.. | ||
centos | ||
cgts-mtce-common-1.0 | ||
LICENSE | ||
PKG-INFO |