Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions rtInstScript-SVN
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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
Expand Down