Update e-smith-package-update to smeserver-package-update

This commit is contained in:
Brian Read 2024-04-04 15:12:40 +01:00
parent 4cc2661b41
commit 9a8e4e1de7

View File

@ -17,14 +17,14 @@ foreach (qw(raddb/radiusd.conf raddb/mods-config/files/authorize))
user-lock user-lock
user-modify user-modify
user-modify-admin user-modify-admin
e-smith-radiusd-update smeserver-radiusd-update
)); ));
} }
templates2events("/etc/raddb/radiusd.conf", "bootstrap-ldap-save"); templates2events("/etc/raddb/radiusd.conf", "bootstrap-ldap-save");
templates2events("/etc/radiusclient-ng/radiusclient.conf", "bootstrap-console-save"); templates2events("/etc/radiusclient-ng/radiusclient.conf", "bootstrap-console-save");
templates2events("/etc/raddb/radiusd.conf", "e-smith-radiusd-update"); templates2events("/etc/raddb/radiusd.conf", "smeserver-radiusd-update");
templates2events("/etc/radiusclient-ng/radiusclient.conf", "e-smith-radiusd-update"); templates2events("/etc/radiusclient-ng/radiusclient.conf", "smeserver-radiusd-update");
foreach (qw( foreach (qw(
raddb/clients.conf raddb/clients.conf
@ -43,7 +43,7 @@ foreach (qw(
domain-modify domain-modify
remoteaccess-update remoteaccess-update
ldap-update ldap-update
e-smith-radiusd-update smeserver-radiusd-update
)); ));
} }
@ -57,7 +57,7 @@ foreach (qw(
domain-modify domain-modify
remoteaccess-update remoteaccess-update
ldap-update ldap-update
e-smith-radiusd-update smeserver-radiusd-update
)); ));
} }
@ -78,7 +78,7 @@ foreach $event ( qw(
safe_symlink("sigterm", "root/etc/e-smith/events/$event/services2adjust/radiusd"); safe_symlink("sigterm", "root/etc/e-smith/events/$event/services2adjust/radiusd");
} }
$event="e-smith-radiusd-update"; $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/radiusd");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog"); safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");
templates2events("/etc/rsyslog.conf",$event); templates2events("/etc/rsyslog.conf",$event);
@ -86,7 +86,7 @@ templates2events("/etc/rsyslog.conf",$event);
event_link("systemd-reload", $event, "89"); event_link("systemd-reload", $event, "89");
event_link("systemd-default", $event, "88"); event_link("systemd-default", $event, "88");
templates2events("/etc/raddb/certs/radiusd.pem", qw( bootstrap-console-save ssl-update e-smith-radiusd-update) ); templates2events("/etc/raddb/certs/radiusd.pem", qw( bootstrap-console-save ssl-update smeserver-radiusd-update) );
safe_symlink("restart", "root/etc/e-smith/events/ssl-update/services2adjust/radiusd"); safe_symlink("restart", "root/etc/e-smith/events/ssl-update/services2adjust/radiusd");
# activate modules # activate modules