Skip to content
heisGarvit edited this page Aug 25, 2017 · 9 revisions

Installation

First, download the binary for your operating system. Next, register a new service to run cloud-torrent on boot

Ubuntu

Move the binary to /usr/local/bin/cloud-torrent

systemd

  1. Create a new service file:

    /usr/lib/systemd/system/cloud-torrent.service

    [Unit]
    Description=cloud-torrent
    
    [Service]
    WorkingDirectory=/root/
    ExecStart=/usr/local/bin/cloud-torrent --port 8080 --config-path /root/cloud-torrent.json --title "Cloud Torrent" --log --auth "user:password"
    Restart=always
    RestartSec=3
    
    [Install]
    WantedBy=multi-user.target
    
  • Enable the service

    systemctl enable cloud-torrent

  • Start the service

    systemctl start cloud-torrent

  • Confirm the service is running

    systemctl status cloud-torrent

Others

Documentation not written - please contribute!

Clone this wiki locally