fix: add needrestart config override for sssd-*.service

Solves #11
This commit is contained in:
Michel Decima
2025-01-30 21:48:10 +01:00
parent 21bc076683
commit 3e4f023074

View File

@@ -0,0 +1,14 @@
#
# SSSD secondary services are configured to refuse explicit start/stop
# operations. Allowing them to be automatically restarted by needrestart
# would only result in a "Failed to restart sssd-*.service..." message
# in the standart error log.
#
# Since these secondary services are bound to the main SSSD service,
# they will be restarted automatically when the main SSSD service is
# restarted by needrestart. However, please note that this restart
# will only triggered by an update of a dynamic library used by the
# main SSSD service. If a dynamic library used only by a secondary
# service is updated, then this service will not be restarted ...
#
$nrconf{override_rc}{qr(^sssd-.*\.service$)} = 0;