TT#131370 Check whether mariadb@2.service is running and enabled

The preset for the mariadb@2.service instance was not taken into account
due to the format used, even though monit was taking care of starting
the service. Add a check for the service to be enabled and running to
avoid this happening in the future.

Change-Id: Iafbc684624c58c6b2c4e453b7e1ac4ba52ab2097
mr10.0
Guillem Jover 5 years ago
parent 67349c6a01
commit b9bad43f8f

@ -47,6 +47,10 @@ service:
enabled: true
running: true
mariadb@2.service:
enabled: [% general.ngcp_type == 'carrier' && (is_proxy || is_li_dist) ? 'true' : 'false' %]
running: [% general.ngcp_type == 'carrier' && (is_proxy || is_li_dist) ? 'true' : 'false' %]
{{if lt .Env.DEBIAN_RELEASE "11"}}
mysql.service:
enabled: true

Loading…
Cancel
Save