From efabde7b7be19fbd35c886ad3dfd3431a24c5478 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Wed, 15 May 2019 15:20:49 +0200 Subject: afm-unit conf: Remove useless tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tests were not needed because they were in the body of a conditional part ruled by the same test. Bug-AGL: SPEC-2436 Change-Id: Ia5cd1157dde6fc2b5aa1153aa375568b39639caf Signed-off-by: José Bollo --- conf/unit/generate-unit-conf/provided-api.inc | 5 ----- 1 file changed, 5 deletions(-) (limited to 'conf/unit/generate-unit-conf') diff --git a/conf/unit/generate-unit-conf/provided-api.inc b/conf/unit/generate-unit-conf/provided-api.inc index db5f125..ddf7c51 100644 --- a/conf/unit/generate-unit-conf/provided-api.inc +++ b/conf/unit/generate-unit-conf/provided-api.inc @@ -23,21 +23,16 @@ X-AFM-API-TYPE={{value}} Requires=afm-user-setup@%i.service After=afm-user-setup@%i.service -{{#value=ws|auto}} Requires=UNIT_NAME_API_BASE({{name}})@%i.socket After=UNIT_NAME_API_BASE({{name}})@%i.socket -{{/value=ws|auto}} [Service] Type=oneshot RemainAfterExit=yes -{{#value=ws|auto}} ExecStart=/bin/true -{{/value=ws|auto}} %end systemd-unit - ;------------------------------------------------------------------------------- ;---- T H E S O C K E T O F T H E A P I ---- ;------------------------------------------------------------------------------- -- cgit 1.2.3-korg