Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. [Unit]
  2. Description=rtorrent (download all the things)
  3. After=syslog.target
  4. After=network.target
  5.  
  6. [Service]
  7. # Modify these two values and uncomment them if you have
  8. # repos with lots of files and get an HTTP error 500 because
  9. # of that
  10. ###
  11. #LimitMEMLOCK=infinity
  12. #LimitNOFILE=65535
  13. RestartSec=1s
  14. Type=simple
  15. #User=git
  16. #Group=git
  17. #WorkingDirectory=/var/lib/gitea
  18. ExecStart=/usr/bin/rtorrent
  19. Restart=always
  20. #Environment=USER=git HOME=/var/lib/gitea/repos GITEA_WORK_DIR=/var/lib/gitea
  21.  
  22. [Install]
  23. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement