~torresjrjr/linkchanbot

3a0b83153e4f8edb5e0bf31b99b523c8b9359f07 — Byron Torres 2 years ago 4c667f5
README.md: Add Updating section
1 files changed, 19 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +19 -0
@@ 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
-----