Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Unit]
- Description=rtorrent (download all the things)
- After=syslog.target
- After=network.target
- [Service]
- # Modify these two values and uncomment them if you have
- # repos with lots of files and get an HTTP error 500 because
- # of that
- ###
- #LimitMEMLOCK=infinity
- #LimitNOFILE=65535
- RestartSec=1s
- Type=simple
- #User=git
- #Group=git
- #WorkingDirectory=/var/lib/gitea
- ExecStart=/usr/bin/rtorrent
- Restart=always
- #Environment=USER=git HOME=/var/lib/gitea/repos GITEA_WORK_DIR=/var/lib/gitea
- [Install]
- WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement