17 lines
473 B
SYSTEMD
17 lines
473 B
SYSTEMD
|
[Unit]
|
||
|
Description=Transmission BitTorrent Daemon (KTO)
|
||
|
Wants=transmission-vpn.service
|
||
|
BindsTo=transmission-vpn.timer
|
||
|
After=network.target transmission-vpn.timer
|
||
|
|
||
|
[Service]
|
||
|
User=debian-transmission
|
||
|
Type=notify
|
||
|
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
|
||
|
NoNewPrivileges=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|