mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-03 00:00:24 -04:00
cert-enroll: add init.d support to cert-install-sssd
This commit is contained in:
parent
f994e0a428
commit
06afb5f109
@ -59,7 +59,12 @@ rm -f $LDAP_TLS_CACERTDIR/*.0
|
||||
/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
|
||||
|
Loading…
x
Reference in New Issue
Block a user