Official Systemd Service Script for nox Client Required

Linux specific questions, problems.
Post Reply
once375ml

Official Systemd Service Script for nox Client Required

Post by once375ml »

Hi All,

I am currently deploying qibittorrent-nox in Ubuntu Server 22.04. Even if not everyone wants qibittorrent-nox to start up when system is up, could official developer offer an official systemd script for someone who wants to run qibittorrent-nox as service.

The one in WIKI is old.

Thanks.
unniold
Newbie
Newbie
Posts: 2
Joined: Sun Oct 01, 2023 7:09 pm

Re: Official Systemd Service Script for nox Client Required

Post by unniold »

This one came with debian 12 package

Code: Select all

# cat /etc/systemd/system/qbittorrent.service
[Unit]
Description=qBittorrent-nox service
Documentation=man:qbittorrent-nox(1)
Wants=network-online.target
After=network-online.target nss-lookup.target

[Service]
# if you have systemd < 240 (Ubuntu 18.10 and earlier, for example), you probably want to use Type=simple instead
Type=exec
# change user as needed
User=qbtuser
# The -d flag should not be used in this setup
ExecStart=/usr/bin/qbittorrent-nox
# uncomment this for versions of qBittorrent < 4.2.0 to set the maximum number of open files to unlimited
#LimitNOFILE=infinity
# uncomment this to use "Network interface" and/or "Optional IP address to bind to" options
# without this binding will fail and qBittorrent's traffic will go through the default route
# AmbientCapabilities=CAP_NET_RAW

[Install]
WantedBy=multi-user.target
Post Reply