Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=rTorrent
- After=network.target
- [Service]
- UMask=002
- Type=forking
- RemainAfterExit=yes
- KillMode=none
- User=rtorrent
- ExecStartPre=-/bin/rm -f /home/tlgl/rtorrent/session/rtorrent.lock
- ExecStart=/usr/bin/screen -d -m -fa -S rtorrent /usr/bin/rtorrent
- ExecStop=/usr/bin/killall -w -s 2 /usr/bin/rtorrent
- WorkingDirectory=/home/tlgl/rtorrent/
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement