linkchanbot

Telegram bot frontend proxy link substituter
git clone https://git.torresjrjr.com/linkchanbot.git
Log | Files | Refs | README | LICENSE

commit 3a0b83153e4f8edb5e0bf31b99b523c8b9359f07
parent 4c667f5861d234ab5e6e1f2af90b67e3ee207a12
Author: Byron Torres <b@torresjrjr.com>
Date:   Thu, 12 Aug 2021 17:35:04 +0000

README.md: Add Updating section

Diffstat:
MREADME.md | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/README.md b/README.md @@ -78,6 +78,25 @@ Your bot should now be ready. See `linkchanbot(1)` +Updating +-------- + +linkchanbot comes with a preconfigured list of 'alts' (proxies) and +other configuration data. This data is updated with new commits. On +start-up, linkchanbot copies this data in the absence of locally +configured data to `XDG_CONFIG_HOME/linkchan` (`bot.cfg` is untouched). + +To fully update linkchanbot and its configuration data, perform a normal +installtion with the latest commit, then remove (and backup) the local +configuration files and restart linkchanbot. + + shell: + $ rm ~/.config/linkchan/alts.json + $ rm ~/.config/linkchan/services.json + Telegram: + /restart (or manaully in the shell) + + Usage -----