* Tue Mar 18 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-11.sme

- handle dhparam via template [SME: 12964]
This commit is contained in:
2025-03-18 01:20:46 -04:00
parent 3986d4512c
commit b4d575a11f
5 changed files with 21 additions and 4 deletions

View File

@@ -82,6 +82,8 @@ $event="smeserver-radiusd-update";
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/radiusd");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");
templates2events("/etc/rsyslog.conf",$event);
templates2events("/etc/raddb/certs/dh", $event);
# systemd-specific action mandatory for this package-update event
event_link("systemd-reload", $event, "89");
event_link("systemd-default", $event, "88");
@@ -94,3 +96,12 @@ safe_symlink("restart", "root/etc/e-smith/events/ssl-update/services2adjust/radi
safe_symlink("../mods-available/ldap", "root/etc/raddb/mods-enabled/ldap");
safe_symlink("../mods-available/smbpasswd", "root/etc/raddb/mods-enabled/smbpasswd");
$event = "dhparam-update";
templates2events("/etc/raddb/certs/dh", $event);
safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/radiusd");
$event = "smeserver-base-update";
templates2events("/etc/raddb/certs/dh", $event);
safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/radiusd");