ezseed-rtorrent
Advanced tools
Comparing version 0.0.4 to 0.0.6
{ | ||
"name": "ezseed-rtorrent", | ||
"version": "0.0.4", | ||
"version": "0.0.6", | ||
"description": "ezseed rtorrent shell binding", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
# Ezseed rtorrent shell bindings | ||
## Requirements | ||
Web server, `nginx` prefered. PHP5 is installed through [apt-get among with other dependencies](https://github.com/ezseed/rtorrent/blob/master/install.sh#L36) | ||
Todo: Add a skip option to this | ||
### Debian squeeze | ||
To make php5-fpm work on debian squeeze you'll need some [dotdeb sources](http://soyuka.me/install-php5-php5-fpm-and-nginx-on-debian-5-squeeze/) | ||
## API: | ||
@@ -8,5 +18,36 @@ - `install.sh` - installs rtorrent and libtorrent | ||
- `daemon.sh start|stop|restart username` - daemonize user rtorrent | ||
- `passwd.sh username password` - updates the user password | ||
For a more powerful usage see [ezseed](https://github.com/ezseed/ezseed) | ||
##Vhost | ||
### Nginx example | ||
``` | ||
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; | ||
} | ||
``` | ||
[More examples (https, apache)](https://github.com/ezseed/ezseed/tree/master/scripts/vhost) | ||
## Nodejs | ||
@@ -13,0 +54,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
20269
9
108
64
0