summaryrefslogtreecommitdiff
path: root/frontends/Rexfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-08-19 21:15:15 +0100
committerPaul Buetow <paul@buetow.org>2022-08-19 21:15:15 +0100
commit3930ecd63d201ae8b06576a5750b0ecf8c16487f (patch)
tree0e8657fbe913f4144d6ccca669bea8f06ebbd5a9 /frontends/Rexfile
parentfc0707e5476720577888277c2201ab458b7084a8 (diff)
parent5f34d998a84cac0fcd2fcf47ddc6caa423bcb675 (diff)
Merge branch 'master' of codeberg.org:snonux/rexfiles
Diffstat (limited to 'frontends/Rexfile')
-rw-r--r--frontends/Rexfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile
index 34c1bda..c66fa06 100644
--- a/frontends/Rexfile
+++ b/frontends/Rexfile
@@ -110,6 +110,24 @@ task 'uptimed', group => 'frontends',
service 'uptimed', ensure => 'started';
};
+desc 'Configure the gemtexter sites';
+task 'gemtexter', group => 'frontends',
+ sub {
+ file '/usr/local/bin/gemtexter.sh',
+ content => template('./scripts/gemtexter.sh.tpl'),
+ owner => 'root',
+ group => 'wheel',
+ mode => '744';
+
+ file '/etc/daily.local',
+ ensure => 'present',
+ owner => 'root',
+ group => 'wheel',
+ mode => '644';
+
+ append_if_no_such_line '/etc/daily.local', '/usr/local/bin/gemtexter.sh';
+ };
+
desc 'Configure ACME client';
task 'acme', group => 'frontends',
sub {
@@ -311,6 +329,7 @@ task 'commons', group => 'frontends',
base();
uptimed();
httpd();
+ gemtexter();
acme();
acme_invoke();
inetd();