Web server, nginx
prefered. PHP5 is installed through apt-get among with other dependencies
Todo: Add a skip option to this
To make php5-fpm work on debian squeeze you'll need some dotdeb sources
install.sh
- installs rtorrent and libtorrentuseradd.sh username password
- creates a rtorrent user, system user should existsuserdel.sh username
- deletes rtorrent user, don't delete user systemdaemon.sh start|stop|restart username
- daemonize user rtorrentpasswd.sh username password
- updates the user password
For a more powerful usage see ezseed
##Vhost
server {
listen 80;
server_name localhost;
location /rutorrent {
/var/www;
index index.php index.html index.htm;
server_tokens off;
auth_basic "Merci de vous identifier";
auth_basic_user_file "/usr/local/opt/ezseed/rutorrent_passwd";
}
location ~ \.php$ {
root "/var/www";
fastcgi_pass unix:/etc/phpcgi/php-cgi-ezseed.socket;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
This module is there to be used without ezseed whole package. If you need to require this in a module:
var i = require('ezseed-rtorrent')('install')
console.log(i)
//will output
// /path/to/the/node_modules/ezseed-rtorrent/install.sh