mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
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
|
|
1
etc/systemd/system/qbittorrent-nox@.service.d/nordvpn.conf
Symbolic link
1
etc/systemd/system/qbittorrent-nox@.service.d/nordvpn.conf
Symbolic link
@ -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
Block a user