forked from ISTI-ansible-roles/ansible-roles
Do not restart the ldap service when a certificate is being renewed. Search for a better solution.
This commit is contained in:
parent
7d707c10c0
commit
5e12af6402
|
@ -29,8 +29,8 @@ chmod 400 $OPENLDAP_CERTDIR/privkey.pem
|
||||||
echo "Restart the openldap service" >> $LE_LOG_DIR/openldap.log
|
echo "Restart the openldap service" >> $LE_LOG_DIR/openldap.log
|
||||||
if [ -x /bin/systemctl ] ; then
|
if [ -x /bin/systemctl ] ; then
|
||||||
systemctl force-reload slapd >/dev/null 2>&1
|
systemctl force-reload slapd >/dev/null 2>&1
|
||||||
else
|
# else
|
||||||
service slapd force-reload >/dev/null 2>&1
|
# service slapd force-reload >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
echo "Done." >> $LE_LOG_DIR/openldap.log
|
echo "Done." >> $LE_LOG_DIR/openldap.log
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue