Skip to content

Instantly share code, notes, and snippets.

@0bo
Created February 26, 2018 02:19
Show Gist options
  • Save 0bo/3d518977dc3b447c5fdd71fef0ca0804 to your computer and use it in GitHub Desktop.
Save 0bo/3d518977dc3b447c5fdd71fef0ca0804 to your computer and use it in GitHub Desktop.
Setting up qBittorrent on Ubuntu server as daemon with Web interface (15.04 and newer)
##https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(15.04-and-newer)
sudo apt-get update && sudo apt-get install qbittorrent-nox
sudo nano /etc/systemd/system/qbittorrent.service
## file contents
[Unit]
Description=qBittorrent Daemon Service
After=network.target
[Service]
User=qbtuser
ExecStart=/usr/bin/qbittorrent-nox
ExecStop=/usr/bin/killall -w qbittorrent-nox
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment