Compare commits

..

5 Commits

Author SHA1 Message Date
4733a38bc5
conf/systemd: replace unknown TimeOutSec with RestartSec 2024-01-06 14:52:03 +02:00
af016ae82e
conf/systemd: add nordvpn-connect user service
Considering it already has protonvpn and mullvad, why not, and it may be a more reasonable alternative to service.d override that may enforce a reconnect
2024-01-06 12:43:21 +02:00
e9bd5d1dfc
transmission-daemon.service: fix typo 2024-01-06 12:39:15 +02:00
b17e96dea2
rm pulseaudio user service overrides 2024-01-06 12:38:44 +02:00
7748d64ad7
systemd: deduplicate qbittorrent, add qbittorrent-nox@.service overrides 2024-01-06 12:34:44 +02:00
9 changed files with 24 additions and 19 deletions

View File

@ -9,8 +9,8 @@ Type=forking
#ExecStartPre=sleep 60
ExecStart=mullvad connect
# ExecStop runs after forking leading into immediate disconnect!
TimeOutSec=infinity
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=default.target

View 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

View File

@ -9,8 +9,8 @@ Type=forking
ExecStartPre=sleep 60
ExecStart=protonvpn-cli connect --p2p
# ExecStop runs after forking leading into immediate disconnect!
TimeOutSec=infinity
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=default.target

View File

@ -1,3 +0,0 @@
[Service]
ExecStart=
ExecStart=/usr/bin/pulseaudio -v --daemonize=no --log-target=journal

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

@ -1,5 +1,5 @@
[Unit]
# This is ust copied from the Debian package
# This is just copied from the Debian package
Description=Transmission BitTorrent Daemon
[Service]

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