systemd/user/ipfs & qbittorrent-nox: ExecStartPre ProtonVPN

This commit is contained in:
Aminda Suomalainen 2021-02-26 11:38:19 +02:00
parent f21e22e80f
commit 5266bcdf70
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ After=network.target
# providers triggers netscan detection, risking account termination"
[Service]
ExecStartPre=/usr/bin/sudo -n /usr/bin/protonvpn connect --p2p
ExecStart=/home/mikaela/go/bin/ipfs daemon --routing=dht --enable-gc --enable-namesys-pubsub
# My attempts at explaining flags above + --mount for fuse

View File

@ -3,6 +3,7 @@ Description=A Headless Bittorrent client using rb_libtorrent
[Service]
Type=simple
ExecStartPre=/usr/bin/sudo -n /usr/bin/protonvpn connect --p2p
ExecStart=/usr/bin/qbittorrent-nox --webui-port=8081
ExecReload=/bin/kill -HUP $MAINPID