diff --git a/rtInstScript-SVN b/rtInstScript-SVN index 27d7839..9895630 100644 --- a/rtInstScript-SVN +++ b/rtInstScript-SVN @@ -148,6 +148,10 @@ if [ ! -h /etc/apache2/mods-enabled/scgi.load ]; then ln -s /etc/apache2/mods-available/scgi.load /etc/apache2/mods-enabled/scgi.load fi +echo " +# rutorrent +SCGIMount /RPC2 127.0.0.1:5000" >> /etc/apache2/apache2.conf + # Installing rutorrent. mkdir /var/www/ @@ -285,6 +289,8 @@ done wget -O /etc/init.d/rtorrent-init https://raw.github.com/Chlorel/rtInstScript/master/conf/rtorrent-init +chown root:root /etc/init.d/rtorrent + chmod +x /etc/init.d/rtorrent-init sed -i "s/USERNAMEHERE/$user/g" /etc/init.d/rtorrent-init