TT#129451 Switch ngcp-rate-o-mat to not be managed by HA

The execution mode for this service has recently changed,
adapt the check to match reality.

Change-Id: I3d47d147cdd0314130cab690db21b5432f9bc07e
mr10.0
Guillem Jover 5 years ago
parent e8dd273078
commit 0e8d7405fa

@ -106,7 +106,7 @@ process:
running: true
ngcp-rate-o-mat:
running: {{if and [% is_proxy ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}}
running: [% is_proxy ? 'true' : 'false' %]
nginx:
running: [% (is_mgmt || is_lb || is_li_dist) && nginx.enable == 'yes' ? 'true' : 'false' %]

@ -57,7 +57,7 @@ service:
ngcp-rate-o-mat.service:
enabled: [% general.process_handler == 'none' && rateomat.enable == "yes" ? 'true' : 'false' %]
running: {{if and [% is_proxy && rateomat.enable == "yes" ? 1 : 0 %] .Vars.NODE_ACTIVE}} true {{else}} false {{end}}
running: [% is_proxy && rateomat.enable == "yes" ? 'true' : 'false' %]
ngcp-rtpengine-recording-daemon.service:
enabled: [% general.process_handler == 'none' && rtpproxy.recording.enable == "yes" ? 'true' : 'false' %]

Loading…
Cancel
Save