Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1.  
  2.  
  3. [Unit]
  4. Description=rTorrent
  5. After=network.target
  6.  
  7. [Service]
  8. UMask=002
  9. Type=forking
  10. RemainAfterExit=yes
  11. KillMode=none
  12. User=rtorrent
  13. ExecStartPre=-/bin/rm -f /home/tlgl/rtorrent/session/rtorrent.lock
  14. ExecStart=/usr/bin/screen -d -m -fa -S rtorrent /usr/bin/rtorrent
  15. ExecStop=/usr/bin/killall -w -s 2 /usr/bin/rtorrent
  16. WorkingDirectory=/home/tlgl/rtorrent/
  17.  
  18. [Install]
  19. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement