mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-20 21:37:24 +02:00
Compare commits
5 Commits
86575ddd37
...
4733a38bc5
Author | SHA1 | Date | |
---|---|---|---|
4733a38bc5 | |||
af016ae82e | |||
e9bd5d1dfc | |||
b17e96dea2 | |||
7748d64ad7 |
@ -9,8 +9,8 @@ Type=forking
|
|||||||
#ExecStartPre=sleep 60
|
#ExecStartPre=sleep 60
|
||||||
ExecStart=mullvad connect
|
ExecStart=mullvad connect
|
||||||
# ExecStop runs after forking leading into immediate disconnect!
|
# ExecStop runs after forking leading into immediate disconnect!
|
||||||
TimeOutSec=infinity
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
16
conf/systemd/user/nordvpn-connect.service
Normal file
16
conf/systemd/user/nordvpn-connect.service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Connect NordVPN on user login
|
||||||
|
After=nordvpnd.service network-online.target dbus.socket
|
||||||
|
Wants=nordvpnd.service network-online.target dbus.socket
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
# Not necessary as the daemon is already up at this time
|
||||||
|
#ExecStartPre=sleep 60
|
||||||
|
ExecStart=/usr/bin/nordvpn connect p2p
|
||||||
|
# ExecStop runs after forking leading into immediate disconnect!
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
@ -9,8 +9,8 @@ Type=forking
|
|||||||
ExecStartPre=sleep 60
|
ExecStartPre=sleep 60
|
||||||
ExecStart=protonvpn-cli connect --p2p
|
ExecStart=protonvpn-cli connect --p2p
|
||||||
# ExecStop runs after forking leading into immediate disconnect!
|
# ExecStop runs after forking leading into immediate disconnect!
|
||||||
TimeOutSec=infinity
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
RestartSec=5s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
[Service]
|
|
||||||
ExecStart=
|
|
||||||
ExecStart=/usr/bin/pulseaudio -v --daemonize=no --log-target=journal
|
|
@ -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,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
# This is ust copied from the Debian package
|
# This is just copied from the Debian package
|
||||||
Description=Transmission BitTorrent Daemon
|
Description=Transmission BitTorrent Daemon
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
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…
x
Reference in New Issue
Block a user