i’m using the latest version of dietpi on my raspberry 4. i want to run two or more instances of qbittorrent. how can i do that?
You could have a look to qbittorrent GitHub
maybe i’m being thick but i dont understand the solution on github. is there an easy way to do this?
It seems you can run
qbittorrent-nox --configuration /path/to/another/data_dir
to start a second instance with another data dir. The config of course needs to be different to not cause port conflicts.
Thanks. So can I copy the config file from the current instance, change the port and paste it in the new folder, right? I’ll try it when I get home.
Jep, three ports, actually: DHT, Bittorrent itself and the web UI.
Thanks created new systemd and it works.
[Unit]
Description=qBittorrent2
Wants=network-online.target
After=network-online.target
[Service]
User=dietpi
ExecStart=/usr/bin/qbittorrent-nox --webui-port=XXXX --profile=/mnt/dietpi_userdata/qb/
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
where –webui-port=XXXX so there is no need to manually edit config files
Thanks for helping.
1 Like
Thanks everyone. I eventually learned to use docker to do this.