From b0578d2af1d6bfef7b86103a3f244c9112d06f98 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 19 May 2026 00:49:25 +0300 Subject: Remove packager, use ports fork --- roles/jails/06_hommabot/templates/etc_crontab.j2 | 10 ---------- roles/jails/06_hommabot/templates/root_hommabot_deps.sh | 14 -------------- roles/jails/06_hommabot/templates/root_hommabot_env.j2 | 4 ---- 3 files changed, 28 deletions(-) delete mode 100644 roles/jails/06_hommabot/templates/etc_crontab.j2 delete mode 100644 roles/jails/06_hommabot/templates/root_hommabot_deps.sh delete mode 100644 roles/jails/06_hommabot/templates/root_hommabot_env.j2 (limited to 'roles/jails/06_hommabot/templates') diff --git a/roles/jails/06_hommabot/templates/etc_crontab.j2 b/roles/jails/06_hommabot/templates/etc_crontab.j2 deleted file mode 100644 index 556d12a..0000000 --- a/roles/jails/06_hommabot/templates/etc_crontab.j2 +++ /dev/null @@ -1,10 +0,0 @@ -# /etc/crontab - root's crontab for FreeBSD -# -# -SHELL=/bin/sh -PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin -# -#minute hour mday month wday who command - -# Run hommabot every Monday at 9:00 AM -0 9 * * 1 root /bin/sh -c "cd /root/hommabot && node index.js" diff --git a/roles/jails/06_hommabot/templates/root_hommabot_deps.sh b/roles/jails/06_hommabot/templates/root_hommabot_deps.sh deleted file mode 100644 index 25c0e56..0000000 --- a/roles/jails/06_hommabot/templates/root_hommabot_deps.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -set -eux -cd /root/hommabot -npm ci - -# We need to build the better-sqlite3.node file before running the app -if [ ! -f build/better_sqlite3.node ]; then ( - mkdir -p build - cd node_modules/better-sqlite3 - npm run build-release - cp build/Release/better_sqlite3.node ../../build/better_sqlite3.node -) -fi diff --git a/roles/jails/06_hommabot/templates/root_hommabot_env.j2 b/roles/jails/06_hommabot/templates/root_hommabot_env.j2 deleted file mode 100644 index c66c666..0000000 --- a/roles/jails/06_hommabot/templates/root_hommabot_env.j2 +++ /dev/null @@ -1,4 +0,0 @@ -TELEGRAM_BOT_TOKEN="{{ hommabot_telegram_bot_token }}" -SHEETS_SPREADSHEET_ID="{{ hommabot_sheets_spreadsheet_id }}" -SHEETS_RANGE="{{ hommabot_sheets_range }}" -G_SA_JSON_B64="{{ hommabot_g_sa_json_b64 }}" -- cgit v1.3