MT#56292 Fix ngcp-rest-api match to not match on check processes

Change-Id: I2e9dd14bd23dbb2e9999eaea03a22ecb468e5589
mr11.2.1
Guillem Jover 3 years ago
parent 9513e14b7a
commit d5c39d13cb

@ -85,7 +85,7 @@ command:
stdout: []
stderr: []
# ngcp-rest-api runs under the node binary, so we can't use "process" for checking
"pgrep -c -n -f 'ngcp-rest-api'":
"pgrep -c -n -f '^ngcp-rest-api'":
exit-status: [% is_mgmt && rest_api.enable == 'yes' ? '0' : '1' %]
stdout:
- "[% is_mgmt && rest_api.enable == 'yes' ? '1' : '0' %]"

Loading…
Cancel
Save