-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Auto Run on Reboot
heisGarvit edited this page Aug 25, 2017
·
9 revisions
First, download the binary for your operating system. Next, register a new service to run cloud-torrent
on boot
Move the binary to /usr/local/bin/cloud-torrent
-
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
Documentation not written - please contribute!