summaryrefslogtreecommitdiff
path: root/frontends/Rexfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-07-27 23:30:19 +0300
committerPaul Buetow <paul@buetow.org>2023-07-27 23:30:19 +0300
commit52a20b00f26c1f8d3e695b3af6ccf47a3198d7d8 (patch)
tree1474b06f797a05e9aa72d0cd9a8722e5a2486563 /frontends/Rexfile
parent7d053aa8e0ea92fdbdbded609b39f42abea37b08 (diff)
remove habit
Diffstat (limited to 'frontends/Rexfile')
-rw-r--r--frontends/Rexfile18
1 files changed, 1 insertions, 17 deletions
diff --git a/frontends/Rexfile b/frontends/Rexfile
index c9740af..96b3035 100644
--- a/frontends/Rexfile
+++ b/frontends/Rexfile
@@ -8,7 +8,7 @@
# Rex is programmed in Perl and there is already Perl in the base system of OpenBSD.
# Also, I find Perl > Python (my personal opinion).
-use Rex -feature => ['1.14'];
+use Rex -feature => ['1.14', 'exec_autodie'];
use Rex::Logger;
use File::Slurp;
@@ -251,21 +251,6 @@ task 'inetd', group => 'frontends',
service 'inetd', ensure => 'started';
};
-desc 'Setup habit';
-task 'habit', group => 'frontends',
- sub {
- pkg 'cowsay', ensure => present;
- run 'adduser -class inetd -group _habit -batch _habit', unless => 'id _habit';
-
- file '/usr/local/bin/habit.pl',
- source => './scripts/habit.pl',
- owner => 'root',
- group => 'wheel',
- mode => '755';
-
- append_if_no_such_line '/etc/daily.local', 'perl -T /usr/local/bin/habit.pl';
- };
-
desc 'Setup relayd';
task 'relayd', group => 'frontends',
sub {
@@ -537,7 +522,6 @@ task 'commons', group => 'frontends',
acme();
acme_invoke();
inetd();
- habit();
relayd();
smtpd();
rsync();