Add open db locally to check one domain sub
This commit is contained in:
parent
444fc11ead
commit
38cd36bd70
@ -553,6 +553,7 @@ sub get_my_ip {
|
||||
|
||||
sub update_one_domain {
|
||||
my ($self, $domain) = @_;
|
||||
my $ddb = esmith::DomainsDB->open() || die("Couldn't open Domains db");
|
||||
return "$domain not domain" unless ($ddb->get($domain) || $hdb->get($domain));
|
||||
($domain) = ($domain =~ /([\w\p{L}.]+)/);
|
||||
my $output = `/etc/e-smith/events/actions/letsencrypt-setdomains " " $domain `;
|
||||
|
@ -1,6 +1,6 @@
|
||||
%define name smeserver-certificates
|
||||
%define version 11.0
|
||||
%define release 3
|
||||
%define release 4
|
||||
Summary: This is what smeserver-certificates does.
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
@ -25,6 +25,9 @@ AutoReqProv: no
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 20 2025 Brian Read <brianr@koozali.org> 11.0-4.sme
|
||||
- Add local open DB in check on domain sub [SME: 12932]
|
||||
|
||||
* Mon Feb 17 2025 Brian Read <brianr@koozali.org> 11.0-3.sme
|
||||
- Change status in template to use helper script to pre-set dropdown value [SME: 12923]
|
||||
- Update Custom routines to openb DB when required, not relying on global open [SME: 12695]
|
||||
|
Loading…
Reference in New Issue
Block a user