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

This commit is contained in:
Brian Read 2024-04-04 15:12:12 +01:00
parent f2cb2e5cfe
commit f62bdca8c2

View File

@ -11,7 +11,7 @@ templates2events("/etc/openldap/$_",
bootstrap-console-save bootstrap-console-save
console-save console-save
ldap-update ldap-update
e-smith-ldap-update smeserver-ldap-update
)); ));
} }
@ -20,7 +20,7 @@ templates2events("/etc/sysconfig/slapd",
bootstrap-console-save bootstrap-console-save
console-save console-save
ldap-update ldap-update
e-smith-ldap-update smeserver-ldap-update
)); ));
@ -50,7 +50,7 @@ event_link("ldap-dump", "pre-backup", "30");
event_link("ldap-update", "ldap-update", "80"); event_link("ldap-update", "ldap-update", "80");
templates2events("/etc/rc.d/init.d/masq", "ldap-update"); templates2events("/etc/rc.d/init.d/masq", "ldap-update");
templates2events("/etc/hosts.allow", "ldap-update"); templates2events("/etc/hosts.allow", "ldap-update");
templates2events("/etc/openldap/ssl/slapd.pem", qw(ssl-update e-smith-ldap-update bootstrap-console-save) ); templates2events("/etc/openldap/ssl/slapd.pem", qw(ssl-update smeserver-ldap-update bootstrap-console-save) );
safe_symlink("restart", "root/etc/e-smith/events/ldap-update/services2adjust/ldap"); safe_symlink("restart", "root/etc/e-smith/events/ldap-update/services2adjust/ldap");
safe_symlink("restart", "root/etc/e-smith/events/ssl-update/services2adjust/ldap"); safe_symlink("restart", "root/etc/e-smith/events/ssl-update/services2adjust/ldap");
safe_symlink("reload", "root/etc/e-smith/events/ldap-update/services2adjust/masq"); safe_symlink("reload", "root/etc/e-smith/events/ldap-update/services2adjust/masq");
@ -62,7 +62,7 @@ event_link("set-ldap-bootstrap", "bootstrap-console-save", "95");
event_link("reset-ldap-bootstrap", "bootstrap-ldap-save", "95"); event_link("reset-ldap-bootstrap", "bootstrap-ldap-save", "95");
my $event="e-smith-ldap-update"; my $event="smeserver-ldap-update";
# systemd-specific action mandatory for this package-update event # systemd-specific action mandatory for this package-update event
event_link("systemd-reload", $event, "89"); event_link("systemd-reload", $event, "89");