summaryrefslogtreecommitdiff
path: root/frontends/Rexfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-07 13:41:50 +0300
committerPaul Buetow <paul@buetow.org>2025-07-07 13:41:50 +0300
commita42df04ee64563cfa65fa04465375e2ef848a583 (patch)
tree5cb536a6653616909907979370377df92a5af159 /frontends/Rexfile
parent95042c100f8a2d23b2ee39e2fa7b682abdef759f (diff)
add stats.foo.zone
Diffstat (limited to 'frontends/Rexfile')
-rw-r--r--frontends/Rexfile14
1 files changed, 13 insertions, 1 deletions
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);