1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=Headless rTorrent After=network.target [Service] Type=simple KillMode=process WorkingDirectory=~ Environment="TERM=linux" ExecStart=/bin/dtach -N /tmp/rtorrent.dtach /bin/rtorrent -n -o import=%h/.rtorrent/rtorrent.rc [Install] WantedBy=default.target