diff options
| author | Jan T <jan@jantuomi.fi> | 2026-07-23 19:24:22 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-07-23 19:26:00 +0300 |
| commit | d57b5cd7830a5b4ed1437b1b648dca62a9b6eea3 (patch) | |
| tree | 85c5e69424dd2fe4c07be9dbb1b4267ee1503c3d /net-im/hommabot/files/pkg-message.in | |
*/*: initial commit
Diffstat (limited to 'net-im/hommabot/files/pkg-message.in')
| -rw-r--r-- | net-im/hommabot/files/pkg-message.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-im/hommabot/files/pkg-message.in b/net-im/hommabot/files/pkg-message.in new file mode 100644 index 0000000..34b2602 --- /dev/null +++ b/net-im/hommabot/files/pkg-message.in @@ -0,0 +1,31 @@ +[ + { + type: install + message: <<EOM +======================================================================== + +Hommabot requires a Telegram bot token. + +Create the token file: + + install -m 600 /dev/null %%PREFIX%%/etc/hommabot.token + +Then edit it: + + ee %%PREFIX%%/etc/hommabot.token + +Then enable the service and configure settings: + + sysrc hommabot_enable=YES + sysrc hommabot_data_dir=/var/db/hommabot + sysrc hommabot_token_file=%%PREFIX%%/etc/hommabot.token + sysrc hommabot_tz=Europe/Helsinki + +Start the service: + + service hommabot start + +======================================================================== +EOM + } +] |
