systemd: deduplicate qbittorrent, add qbittorrent-nox@.service overrides

This commit is contained in:
Aminda Suomalainen 2024-01-06 12:34:44 +02:00
parent 86575ddd37
commit 7748d64ad7
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 5 additions and 13 deletions

View File

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

View File

@ -0,0 +1 @@
../service.d/nordvpn.conf

View File

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=/usr/bin/qbittorrent-nox --webui-port=8081

View File

@ -3,4 +3,4 @@ Wants=nordvpnd.service
After=nordvpnd.service
[Service]
ExecStartPre=/usr/bin/nordvpn connect
ExecStartPre=/usr/bin/nordvpn connect p2p