From a42df04ee64563cfa65fa04465375e2ef848a583 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 7 Jul 2025 13:41:50 +0300 Subject: add stats.foo.zone --- frontends/Rexfile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'frontends/Rexfile') diff --git a/frontends/Rexfile b/frontends/Rexfile index fa407e5..995aebc 100644 --- a/frontends/Rexfile +++ b/frontends/Rexfile @@ -75,7 +75,7 @@ our @dns_zones = qw/buetow.org dtail.dev foo.zone irregular.ninja snonux. our @dns_zones_remove = qw//; our @f3s_hosts = qw/f3s.buetow.org/; # k3s cluster running on FreeBSD in my LAN our @acme_hosts = - qw/buetow.org git.buetow.org paul.buetow.org dory.buetow.org solarcat.buetow.org blog.buetow.org fotos.buetow.org znc.buetow.org dtail.dev foo.zone irregular.ninja alt.irregular.ninja snonux.foo/; + qw/buetow.org git.buetow.org paul.buetow.org dory.buetow.org solarcat.buetow.org blog.buetow.org fotos.buetow.org znc.buetow.org dtail.dev foo.zone stats.foo.zone irregular.ninja alt.irregular.ninja snonux.foo/; push @acme_hosts, @f3s_hosts; # UTILITY TASKS @@ -557,6 +557,18 @@ task 'foostats', group => 'wheel', mode => '440'; + file '/var/www/htdocs/gemtexter/stats.foo.zone', + ensure => 'directory', + owner => 'root', + group => 'wheel', + mode => '755'; + + file '/var/gemini/stats.foo.zone', + ensure => 'directory', + owner => 'root', + group => 'wheel', + mode => '755'; + append_if_no_such_line '/etc/daily.local', 'perl /usr/local/bin/foostats.pl --parse-logs --replicate --report'; my @deps = qw(p5-Digest-SHA3 p5-PerlIO-gzip p5-JSON p5-String-Util p5-LWP-Protocol-https); -- cgit v1.2.3