systemd/user: review vpn wants, rm transmission-daemon copy-paste

This commit is contained in:
Aminda Suomalainen 2024-04-27 08:34:46 +03:00
parent 2113b593e7
commit b76b7cac5c
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
4 changed files with 4 additions and 15 deletions

View File

@ -1,7 +1,8 @@
[Unit] [Unit]
Description=IPFS daemon Description=IPFS daemon
After=network.target mullvad-connect.service After=network.target mullvad-connect.service
Wants=mullvad-connect.service #Requires=mullvad-connect.service
#Requires=nordvpnd.service
# IMPORTANT! If you are running on a VPS/dedicated/similar # IMPORTANT! If you are running on a VPS/dedicated/similar
# `ipfs init --profile=server` or immediately after setting it up # `ipfs init --profile=server` or immediately after setting it up

View File

@ -1,7 +1,7 @@
[Unit] [Unit]
Description=Connect Mullvad VPN on user login Description=Connect Mullvad VPN on user login
After=mullvad-daemon.service network-online.target dbus.socket After=mullvad-daemon.service network-online.target dbus.socket
Wants=mullvad-daemon.service network-online.target dbus.socket Requires=mullvad-daemon.service network-online.target dbus.socket
[Service] [Service]
Type=forking Type=forking

View File

@ -1,7 +1,7 @@
[Unit] [Unit]
Description=Connect NordVPN on user login Description=Connect NordVPN on user login
After=nordvpnd.service network-online.target dbus.socket After=nordvpnd.service network-online.target dbus.socket
Wants=nordvpnd.service network-online.target dbus.socket Requires=nordvpnd.service network-online.target dbus.socket
[Service] [Service]
Type=forking Type=forking

View File

@ -1,12 +0,0 @@
[Unit]
# This is just copied from the Debian package
Description=Transmission BitTorrent Daemon
[Service]
Type=notify
ExecStart=/usr/bin/transmission-daemon -f --log-error
ExecStop=/bin/kill -s STOP $MAINPID
ExecReload=/bin/kill -s HUP $MAINPID
[Install]
WantedBy=default.target