groupadd torrent_group
chown :torrent_group /.deluge/prep/
usermod -aG torrent_group deluge
usermod -aG torrent_group couchpotato
Last active
August 3, 2016 04:03
-
-
Save gryte/832a5606d7b49b65d0f73116b0f93fe9 to your computer and use it in GitHub Desktop.
yum update
sudo yum install wget
yum install epel-release
mkdir ~/Downloads
cd ~/Downloads/
wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
rpm -ivh nux-dextop-release-0-5.el7.nux.noarch.rpm
yum install deluge-web
systemctl start deluge-web
systemctl enable deluge-web
systemctl status deluge-web
Deluge will be available on HTTP port 8112 by default. Open your favorite browser and navigate to http://yourdomain.com:8112 or http://server-ip:8112. The default password for deluge is deluge, better change it when you are first to login. If you are using a firewall, please open port 8112 to enable access to the control panel.
sudo mkdir /.deluge
chown deluge:deluge /.deluge
cd /.deluge
mkdir prep
mkdir staging
mkdir complete
chown deluge:deluge ./prep/
chown deluge:deluge ./staging/
chown deluge:deluge ./complete/
touch /etc/systemd/system/deluged.service
sudo vi /etc/systemd/system/deluged.service
[Unit]
Description=Deluge Bittorrent Client Daemon
After=network-online.target
[Service]
Type=simple
User=deluge
Group=deluge
UMask=007
ExecStart=/usr/bin/deluged -d
Restart=on-failure
# Configures the time to wait before service is stopped forcefully.
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target
Now enable it to start up on boot, start the service and verify it is running:
systemctl enable /etc/systemd/system/deluged.service
systemctl start deluged
systemctl status deluged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment