mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Improved systemd unit file and make it more similar to the bundled one.
parent
802bbb1ad1
commit
1192c48fe5
1 changed files with 5 additions and 2 deletions
|
@ -63,11 +63,14 @@ First, create a file:
|
||||||
```
|
```
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=qBittorrent Daemon Service
|
Description=qBittorrent Daemon Service
|
||||||
After=network.target
|
Documentation=man:qbittorrent-nox(1)
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target nss-lookup.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
# if you have systemd >= 240, you probably want to use Type=exec instead
|
||||||
|
Type=simple
|
||||||
User=qbtuser
|
User=qbtuser
|
||||||
Group=qbtuser
|
|
||||||
ExecStart=/usr/bin/qbittorrent-nox
|
ExecStart=/usr/bin/qbittorrent-nox
|
||||||
TimeoutStopSec=infinity
|
TimeoutStopSec=infinity
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue