systemd/user/qbittorrent-nox: enable automatic restarting

I don't appreciate it OOMing on me when I am waiting for Fedora 36 and two Debian images to download.
This commit is contained in:
Aminda Suomalainen 2022-05-10 17:48:21 +03:00
parent 25f11f89db
commit 94145668d7
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,12 +1,12 @@
[Unit]
Description=A Headless Bittorrent client using rb_libtorrent
After=mullvad-connect.service
Wants=mullvad-connect.service
[Service]
Type=simple
ExecStart=/usr/bin/qbittorrent-nox --webui-port=8081
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=5
[Install]
WantedBy=default.target