From 050e559f75c3d3b9a51305a74c1b09c0457fad01 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 12 Apr 2018 09:26:49 +0200 Subject: [PATCH] Adding postservice to update configuration cache We need to update the configuration cache to apply the configuration modifications --- postservice/99-lemonldap-ng | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 postservice/99-lemonldap-ng diff --git a/postservice/99-lemonldap-ng b/postservice/99-lemonldap-ng new file mode 100644 index 0000000..3f66c97 --- /dev/null +++ b/postservice/99-lemonldap-ng @@ -0,0 +1,9 @@ +#!/bin/bash + +# Updating Configuration cache + +cmd="/usr/share/lemonldap-ng/bin/lemonldap-ng-cli update-cache" +opt="update-cache" + +res=$(${cmd} ${opt} 2>&1) +exit ${?}