Login for certain variables to be updated with your slot's information
Wiki > qui
qui. A fast, single-binary qBittorrent web UI: manage multiple instances, automate torrent workflows, and cross-seed across trackers.
Installation
The developers of qui have prepared a one-line command for installation. Follow its prompts.
wget -O installer.sh https://get.autobrr.com/qui/whatbox && chmod +x installer.sh && ./installer.sh
Add ~/.local/bin to your PATH so that you can run binaries in it without specifying the path. Ignore this step if you have performed it for a different program.
echo "PATH=\$HOME/.local/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
Stop and start
Stop the application
pkill -f qui
Start in the foreground
qui serve
Start in the background
screen -S qui qui serve
Attach to running instance in background
screen -r qui
Updating
Run the built-in update command
qui update
Automatically Restart (optional)
- Make a file to be used for the script.
touch ~/qui_restart.cron - Edit the file and enter the text below.
nano -w ~/qui_restart.cron
#!/bin/bash
if pgrep -f "qui" > /dev/null
then
echo "qui is running."
else
echo "qui is not running, starting qui"
screen -dmS qui ~/.local/bin/qui serve
fi
exit
- Save the file with Ctrl+x and the "y" and Enter to accept overwriting.
- Make the script executable.
chmod +x ~/qui_restart.cron - Open your crontab.
EDITOR=nano crontab -e - Enter the following text
@reboot /home/user/qui_restart.cron >/dev/null 2>&1
*/5 * * * * /home/user/qui_restart.cron >/dev/null 2>&1
- Save the crontab with Ctrl+x and the "y" and Enter to accept overwriting.