2 Commits

Author SHA1 Message Date
cae4202143 * 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
2024-04-02 23:46:01 -04:00
Trevor Batley
b00815cdcb change directory for *uidgid and multilog to /usr/bin 2024-03-30 09:32:52 +11:00
3 changed files with 14 additions and 7 deletions

View File

@@ -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");

View File

@@ -22,6 +22,6 @@
#----------------------------------------------------------------------
exec \
/usr/local/bin/setuidgid dnslog \
/usr/local/bin/multilog t s5000000 \
/usr/bin/setuidgid dnslog \
/usr/bin/multilog t s5000000 \
/var/log/tinydns

View File

@@ -4,7 +4,7 @@ Summary: smeserver module to configure tinydns
%define name smeserver-tinydns
Name: %{name}
%define version 11.0.0
%define release 2
%define release 4
Version: %{version}
Release: %{release}%{?dist}
License: GPL
@@ -24,6 +24,13 @@ Provides: e-smith-tinydns
AutoReqProv: no
%changelog
* 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
* Sat Mar 30 2024 Trevor Batley <trevor@batley.id.au> 11.0.0-3.sme
- change directory for *uidgid and multilog to /usr/bin [SME: 12566]
* Sat Mar 23 2024 Brian Read <brianr@koozali.org>11.0.0-2.sme
- Change Requires: e-smith- to Requires:smeserver-