* 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:
parent
b00815cdcb
commit
cae4202143
@ -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");
|
||||
|
@ -1,4 +1,4 @@
|
||||
#! /bin/sh
|
||||
|
||||
/sbin/e-smith/expand-template /var/service/tinydns/root/data
|
||||
cd "/var/service/tinydns/root" && /usr/bin/tinydns-data
|
||||
cd "/var/service/tinydns/root" && /usr/local/bin/tinydns-data
|
||||
|
@ -4,5 +4,5 @@ exec 2>&1
|
||||
exec envdir ./env sh -c '
|
||||
exec envuidgid dns \
|
||||
softlimit -d "$DATALIMIT" \
|
||||
/usr/bin/tinydns
|
||||
/usr/local/bin/tinydns
|
||||
'
|
||||
|
@ -4,7 +4,7 @@ Summary: smeserver module to configure tinydns
|
||||
%define name smeserver-tinydns
|
||||
Name: %{name}
|
||||
%define version 11.0.0
|
||||
%define release 3
|
||||
%define release 4
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
License: GPL
|
||||
@ -24,6 +24,10 @@ 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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user