diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 28acceaa..600558d6 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -22,9 +22,9 @@ SERVICE="nanobot" # importable in the venv BEFORE the service is touched, and (2) after restart, # every expected channel shows up in the startup "Channels enabled" line and # nothing logs "Unknown channel". Keep these in sync with config.json. -REQUIRED_IMPORTS="telegram websockets" # python module names -REQUIRED_PACKAGES="python-telegram-bot websockets" # matching PyPI names (module 'telegram' != package 'telegram'!) -REQUIRED_CHANNELS="telegram websocket" # expected in 'Channels enabled:' startup line +REQUIRED_IMPORTS="telegram websockets nio" # python module names (nio = matrix-nio) +REQUIRED_PACKAGES="python-telegram-bot websockets matrix-nio" # matching PyPI names (module 'telegram' != package 'telegram'!) +REQUIRED_CHANNELS="telegram websocket matrix" # expected in 'Channels enabled:' startup line export XDG_RUNTIME_DIR=/run/user/1000 log() { echo "[deploy] $(date '+%H:%M:%S') $*"; }