This repository has been archived on 2023-08-13. You can view files and clone it, but cannot push or open issues or pull requests.
nas-server/systemd-templates/transmission-daemon.service

17 lines
477 B
SYSTEMD
Raw Normal View History

2022-06-06 15:15:13 +02:00
[Unit]
Description=Transmission BitTorrent Daemon (KTO)
BindsTo=transmission-vpn.timer
After=network.target transmission-vpn.timer
[Service]
2022-09-16 15:00:38 +02:00
User=PH_NAS_USER
2022-06-06 15:15:13 +02:00
Type=notify
ExecStartPre=PH_DIRECTORY/transmission-vpn.sh
2022-06-06 15:15:13 +02:00
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]
2022-09-16 15:00:38 +02:00
WantedBy=default.target