summarylogtreecommitdiffstats
path: root/rtorrent.service
diff options
context:
space:
mode:
authorarshlinux2017-05-26 18:29:37 +0200
committerarshlinux2017-05-26 18:29:37 +0200
commit63734c6deee3e9689a2b48a84967b44c97ee2b73 (patch)
treeb65e4146f6c7365d39f068fdfe4bc0167ca42daf /rtorrent.service
downloadaur-dotrtorrent.tar.gz
init
Diffstat (limited to 'rtorrent.service')
-rw-r--r--rtorrent.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/rtorrent.service b/rtorrent.service
new file mode 100644
index 000000000000..e0bf9ed2aad1
--- /dev/null
+++ b/rtorrent.service
@@ -0,0 +1,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
+