Skip to content

Instantly share code, notes, and snippets.

@jfeilbach
Last active September 22, 2018 16:44
Show Gist options
  • Save jfeilbach/4be7e7a12251bbfeb0802a95d1e94a66 to your computer and use it in GitHub Desktop.
Save jfeilbach/4be7e7a12251bbfeb0802a95d1e94a66 to your computer and use it in GitHub Desktop.
systemd unit file for transmission-daemon /lib/systemd/system/transmission-daemon.service
[Unit]
Description=Transmission BitTorrent Daemon
After=network.target
[Service]
Environment=TRANSMISSION_HOME=/home/jason/.config/transmission-daemon/
User=jason
Type=notify
ExecStart=/usr/bin/transmission-daemon -f --log-debug --logfile /var/log/transmission/transmission.log -g /home/jason/.config/transmission-daemon/
ExecStop=/bin/kill -s STOP $MAINPID
ExecReload=/bin/kill -s HUP $MAINPID
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment