diff --git a/README.md b/README.md index 48c6bb0..04b1a06 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Supported systems: After cloning the repository: ```bash -sudo bash scripts/install_stack.sh +bash scripts/install_stack.sh ``` The default stack install creates: @@ -107,10 +107,10 @@ The default stack install creates: ```bash curl -fsSL https://raw.githubusercontent.com/zdzichu6969/pyTorrent/main/scripts/install_stack.sh \ - | sud PYTORRENT_PORT=8091 \ - RTORRENT_SCGI_PORT=5001 \ - PYTORRENT_PROFILE_NAME="Local rTorrent" \ - bash + | PYTORRENT_PORT=8091 \ + RTORRENT_SCGI_PORT=5001 \ + PYTORRENT_PROFILE_NAME="Local rTorrent" \ + bash ``` ## Installer variables @@ -174,10 +174,10 @@ pyTorrent uses Flask-SocketIO with threading mode. Multiple Gunicorn workers are Useful service commands after stack installation: ```bash -sudo systemctl status pytorrent -sudo systemctl status rtorrent@rtorrent.service -sudo journalctl -u pytorrent -f -sudo journalctl -u rtorrent@rtorrent.service -f +systemctl status pytorrent +systemctl status rtorrent@rtorrent.service +journalctl -u pytorrent -f +journalctl -u rtorrent@rtorrent.service -f ``` Application logs may also be available in: @@ -370,8 +370,8 @@ See `.env.example` for the full list. ### Service does not start ```bash -sudo journalctl -u pytorrent -n 100 --no-pager -sudo systemctl status pytorrent +journalctl -u pytorrent -n 100 --no-pager +systemctl status pytorrent ``` ### rTorrent connection fails @@ -417,7 +417,7 @@ Source-build installers write logs to: Enable verbose installer output: ```bash -PYTORRENT_DEBUG_INSTALL=1 sudo bash scripts/install_stack.sh +PYTORRENT_DEBUG_INSTALL=1 bash scripts/install_stack.sh ``` ## Security notes