cert-enroll: add init.d support to cert-install-sssd
This commit is contained in:
@@ -59,7 +59,12 @@ rm -f $LDAP_TLS_CACERTDIR/*.0
|
|||||||
/usr/bin/openssl rehash $LDAP_TLS_CACERTDIR
|
/usr/bin/openssl rehash $LDAP_TLS_CACERTDIR
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Restart the SSSD systemd service
|
# Restart the SSSD daemon
|
||||||
#
|
#
|
||||||
/usr/bin/systemctl restart sssd.service
|
if [ -f /usr/bin/systemctl ]
|
||||||
|
then
|
||||||
|
/usr/bin/systemctl restart sssd.service
|
||||||
|
else
|
||||||
|
/etc/init.d/sssd restart
|
||||||
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
Reference in New Issue
Block a user