mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Improve systemd service file. The defaults for stopping the process are fine and preferrable
parent
93de916ad5
commit
d5aacdfb8e
1 changed files with 1 additions and 4 deletions
|
@ -105,11 +105,8 @@ After=network-online.target nss-lookup.target
|
|||
Type=exec
|
||||
# change user as needed
|
||||
User=qbtuser
|
||||
# notice that no -d flag needed
|
||||
# The -d flag should not be used in this setup
|
||||
ExecStart=/usr/bin/qbittorrent-nox
|
||||
ExecStop=/usr/bin/pkill --signal SIGINT qbittorrent-nox
|
||||
KillSignal=SIGINT
|
||||
TimeoutStopSec=60 # default is 90 seconds
|
||||
# uncomment this for versions of qBittorrent < 4.2.0 to set the maximum number of open files to unlimited
|
||||
#LimitNOFILE=infinity
|
||||
|
||||
|
|
Loading…
Reference in a new issue