aboutsummaryrefslogtreecommitdiffstats
path: root/community/rutorrent/rutorrent.post-install
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-24 15:58:29 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-24 15:58:29 +0000
commit07f036da43f6f5c372a3fdc0e67ee4535ef0125e (patch)
tree108cf04c89d1b0a5e5869cbba3397c8c8ae8cc82 /community/rutorrent/rutorrent.post-install
parent27563f5bfee734648c82e9e9a8e19a7fe545e7fe (diff)
downloadaports-07f036da43f6f5c372a3fdc0e67ee4535ef0125e.tar.bz2
aports-07f036da43f6f5c372a3fdc0e67ee4535ef0125e.tar.xz
community/rutorrent: moved from testing
Diffstat (limited to 'community/rutorrent/rutorrent.post-install')
-rw-r--r--community/rutorrent/rutorrent.post-install26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/rutorrent/rutorrent.post-install b/community/rutorrent/rutorrent.post-install
new file mode 100644
index 0000000000..05ce03e90c
--- /dev/null
+++ b/community/rutorrent/rutorrent.post-install
@@ -0,0 +1,26 @@
+#!/bin/sh
+ln -s /usr/share/webapps/rutorrent /var/www/localhost/htdocs/rutorrent 2>/dev/null
+echo "*" >&2
+echo "* rutorrent has been installed to: " >&2
+echo "* /usr/share/webapps/rutorrent " >&2
+echo "* If you use lighttpd: " >&2
+echo "* 1 - enable mod_scgi in lighttpd.conf adding: " >&2
+echo "* server.modules += ( "mod_scgi" ) " >&2
+echo "* 2 - touch /etc/lighttpd/mod_scgi.conf " >&2
+echo "* 3 - add the following entry in mod_scgi.conf: " >&2
+echo "* scgi.server =( " >&2
+echo "* "/RPC1" => " >&2
+echo "* ( "127.0.0.1" => " >&2
+echo "* ( " >&2
+echo "* "host" => "127.0.0.1", " >&2
+echo "* "port" => 5000, " >&2
+echo "* "check-local" => "disable" " >&2
+echo "* ) " >&2
+echo "* ) " >&2
+echo "* ) " >&2
+echo "* 4 - (optional) Add lighttpd to rutorrent group " >&2
+echo "* to give to webserver r/w permissions on rutorrent " >&2
+echo "* share folder (/usr/share/webapps/rutorrent/share): " >&2
+echo "* addgroup lighttpd rutorrent " >&2
+echo "*" >&2
+exit 0