Change behaviour of transmission at start (so that cannot start without VPN)
This commit is contained in:
@ -1,12 +1,12 @@
|
||||
[Unit]
|
||||
Description=Transmission BitTorrent Daemon (KTO)
|
||||
Requires=transmission-vpn.service
|
||||
BindsTo=transmission-vpn.timer
|
||||
After=network.target transmission-vpn.timer
|
||||
|
||||
[Service]
|
||||
User=PH_NAS_USER
|
||||
Type=notify
|
||||
ExecStartPre=PH_DIRECTORY/transmission-vpn.sh
|
||||
ExecStart=/usr/bin/transmission-daemon -f --log-error -a PH_AUTHORIZED_ADDRESSES -C -t -u PH_USER -v PH_PASSWORD -w PH_DL_LOCATION
|
||||
ExecStop=/bin/kill -s STOP $MAINPID
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
|
Reference in New Issue
Block a user