From 836b6a0eebebd10ecfd71dc5f874248e7b92c3d6 Mon Sep 17 00:00:00 2001 From: Alexander Lutay Date: Wed, 21 Feb 2018 13:33:28 +0100 Subject: [PATCH] TT#31600 Ensure ngcp-license-client is running if license key is defined Change-Id: I0cce5f028ec450ec0a7677ba35035822f6e72b01 --- templates/510_init-daemons-ngcp.yaml.tt2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/510_init-daemons-ngcp.yaml.tt2 b/templates/510_init-daemons-ngcp.yaml.tt2 index c9de416..b0a8ab5 100644 --- a/templates/510_init-daemons-ngcp.yaml.tt2 +++ b/templates/510_init-daemons-ngcp.yaml.tt2 @@ -176,3 +176,9 @@ service: enabled: true running: [% (is_db || is_mgmt) ? 'true' : 'false' %] [% END -%] +[% IF general.license_key != '' -%] + + ngcp-license-client: + enabled: true + running: true +[% END -%] \ No newline at end of file