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

This commit is contained in:
Brian Read 2024-04-04 15:11:59 +01:00
parent a264dec4c6
commit a121a2d98e

View File

@ -5,10 +5,10 @@ use esmith::Build::CreateLinks qw(:all);
foreach (qw(root/servers/@ config))
{
templates2events("/var/service/dnscache.forwarder/$_",
qw(bootstrap-console-save console-save dns-update e-smith-dnscache-update));
qw(bootstrap-console-save console-save dns-update smeserver-dnscache-update));
}
templates2events('/var/service/dnscache/root/servers/@',
qw(bootstrap-console-save console-save dns-update e-smith-dnscache-update));
qw(bootstrap-console-save console-save dns-update smeserver-dnscache-update));
foreach my $event (qw(
console-save
@ -18,7 +18,7 @@ foreach my $event (qw(
domain-delete
domain-modify
dns-update
e-smith-dnscache-update
smeserver-dnscache-update
))
{
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/dnscache");
@ -27,7 +27,7 @@ foreach my $event (qw(
foreach my $event (qw(
console-save
dns-update
e-smith-dnscache-update
smeserver-dnscache-update
))
{
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/dnscache.forwarder");
@ -37,9 +37,9 @@ event_link("initialize-default-databases", "dns-update", "00");
event_link("initialize-default-databases", "domain-modify", "00");
#--------------------------------------------------
# other actions for e-smith-dnscache-update event
# other actions for smeserver-dnscache-update event
#--------------------------------------------------
$event = "e-smith-dnscache-update";
$event = "smeserver-dnscache-update";
templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
event_link("systemd-reload", $event, "89");