|
@@ -1,6 +1,6 @@
|
|
[Unit]
|
|
[Unit]
|
|
Description=qBittorrent Daemon Service
|
|
Description=qBittorrent Daemon Service
|
|
-After=network.target
|
|
|
|
|
|
+After=multi-user.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
[Service]
|
|
@@ -8,6 +8,7 @@ Type=simple
|
|
ExecStart=/usr/bin/qbittorrent --add-paused=false --first-and-last --profile=/home
|
|
ExecStart=/usr/bin/qbittorrent --add-paused=false --first-and-last --profile=/home
|
|
ExecStop=/usr/bin/kill -9 $MAINPID
|
|
ExecStop=/usr/bin/kill -9 $MAINPID
|
|
Restart=always
|
|
Restart=always
|
|
|
|
+MemoryMax=2G
|
|
LimitNOFILE=262144
|
|
LimitNOFILE=262144
|
|
TimeoutSec=300
|
|
TimeoutSec=300
|
|
|
|
|