diff options
| author | Paul Buetow <paul@buetow.org> | 2023-07-09 21:22:13 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-07-09 21:22:13 +0300 |
| commit | acf1c93b7fab3fb5cd5383adf8771b098ae2c734 (patch) | |
| tree | 5215b4f8d600bdd090b7fda495ed04f8a45a9ff0 /frontends/Rexfile | |
| parent | c08fb369ac86b1d4ba34a3b554f7b5240d82dff8 (diff) | |
add warrior
Diffstat (limited to 'frontends/Rexfile')
| -rw-r--r-- | frontends/Rexfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile index a298566..1367044 100644 --- a/frontends/Rexfile +++ b/frontends/Rexfile @@ -157,6 +157,19 @@ task 'gemtexter', group => 'frontends', append_if_no_such_line '/etc/daily.local', '/usr/local/bin/gemtexter.sh'; }; +desc 'Configure task warrior reminder'; +task 'warrior', group => 'frontends', + sub { + file '/usr/local/bin/warrior.sh', + content => template('./scripts/warrior.sh.tpl', + is_primary => $is_primary), + owner => 'root', + group => 'wheel', + mode => '744'; + + append_if_no_such_line '/etc/daily.local', '/usr/local/bin/warrior.sh'; + }; + desc 'Configure ACME client'; task 'acme', group => 'frontends', sub { @@ -512,6 +525,7 @@ task 'commons', group => 'frontends', uptimed(); httpd(); gemtexter(); + warrior(); acme(); acme_invoke(); inetd(); |
