* Tue Apr 02 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-4.sme
- revert path for tinydns-data and tinydns [SME: 12566] - change update event name
This commit is contained in:
@@ -5,7 +5,7 @@ use strict;
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
# actions for bootstrap-console-save event, e-smith-tinydns-update :
|
||||
# actions for bootstrap-console-save event, smeserver-tinydns-update :
|
||||
#-------------------------------------------------------------------
|
||||
foreach (qw(
|
||||
env/IP
|
||||
@@ -15,7 +15,7 @@ foreach (qw(
|
||||
{
|
||||
templates2events("/var/service/tinydns/$_", qw(
|
||||
bootstrap-console-save
|
||||
e-smith-tinydns-update
|
||||
smeserver-tinydns-update
|
||||
));
|
||||
}
|
||||
|
||||
@@ -26,9 +26,9 @@ my $event = "ip-change";
|
||||
safe_symlink("sigusr2", "root/etc/e-smith/events/$event/services2adjust/tinydns");
|
||||
|
||||
#--------------------------------------------------
|
||||
# actions for e-smith-tinydns-update event
|
||||
# actions for smeserver-tinydns-update event
|
||||
#--------------------------------------------------
|
||||
$event = "e-smith-tinydns-update";
|
||||
$event = "smeserver-tinydns-update";
|
||||
safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/tinydns");
|
||||
templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
|
||||
event_link("systemd-reload", $event, "89");
|
||||
|
Reference in New Issue
Block a user