systemd: deduplicate qbittorrent, add qbittorrent-nox@.service overrides
This commit is contained in:
parent
86575ddd37
commit
7748d64ad7
|
@ -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
|
|
|
@ -0,0 +1 @@
|
||||||
|
../service.d/nordvpn.conf
|
|
@ -0,0 +1,3 @@
|
||||||
|
[Service]
|
||||||
|
ExecStart=
|
||||||
|
ExecStart=/usr/bin/qbittorrent-nox --webui-port=8081
|
|
@ -3,4 +3,4 @@ Wants=nordvpnd.service
|
||||||
After=nordvpnd.service
|
After=nordvpnd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=/usr/bin/nordvpn connect
|
ExecStartPre=/usr/bin/nordvpn connect p2p
|
||||||
|
|
Loading…
Reference in New Issue