fault/fm-rest-api/fm/scripts
Dan Voiculeasa 9d9ea1ed24 Fix fm-api service startup
The fm-api service is not properly started since the status logic is
wrong.

Updated the status logic to drop the regex approach and use the PIDFILE
instead.

There is a confirm_stop logic step which still needs to use the regex
approach because the main process spawns children. Updated the regex
for confirm_stop logic step. Now looking for /usr/bin/pythton3 and
/usr/libexec/platform-python.

Story: 2008454
Task: 42631
Depends-On: I970c2600475e32f2c5fb815738a2fe79f99a5b17
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Ia77988ce282ea17de84b89e833ec686df342b3c4
(cherry picked from commit 4d5c6c7f21)
2021-08-16 01:25:31 +00:00
..
fm-api Fix fm-api service startup 2021-08-16 01:25:31 +00:00
fm-api.service Decouple Fault Management from stx-config 2018-08-16 13:23:33 -04:00