Skip to content
This repository was archived by the owner on Jul 13, 2021. It is now read-only.

ghickman/tvrd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tvrd

Install

Install into /opt:

cd /opt
git clone git://github.com/ghickman/tvrd.git

Create a virtual env:

virtualenv --distribute venv

Create a log directory:

sudo mkdir /var/log/tvrd
sudo chown <user>:<group> /var/log/tvrd

Create a supervisor config in /etc/supervisor/conf.d/tvrd.conf:

[program:tvrd]
command=/opt/tvrd/venv/bin/python /opt/tvrd/main.py <folder to watch>
user=<user>
autostart=true
autorestart=true
redirect_stderr=True
environment=DELUGE_PASSWORD='<deluge pass>'

Update supervisor:

sudo supervisorctl update

Set up log rotation in /etc/logrotate.d/tvrd (with sudo):

/var/log/tvrd/* {
    missingok
    nocompress
    rotate 5
    size 100M
}

Profit.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages