summarylogtreecommitdiffstats
path: root/rtorrent.service
blob: e0bf9ed2aad169019fbf52a68165b7231e0d70aa (plain)
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