summaryrefslogtreecommitdiff
path: root/net-p2p/rtorrent/files/rtorrentd_at.service
blob: 991ba930c7f86a0aafdb20a3c5b1da3d22bc72e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=rTorrent
Requires=network.target local-fs.target

[Service]
Type=forking
RemainAfterExit=yes
KillMode=none
User=%I
ExecStart=/usr/bin/screen -d -m -S rtorrentd /usr/bin/rtorrent
ExecStop=/usr/bin/screen -S rtorrentd -X quit
WorkingDirectory=/home/%I/

[Install]
WantedBy=multi-user.target