multi-user setup on same server

4 views
Skip to first unread message

dwo...@ucalgary.ca

unread,
Mar 7, 2008, 6:11:41 PM3/7/08
to n2hell
First, this is the only program I have gotten to work as
a web front-end for rtorrent. Thanks.

Since n2hell doesn't care about local web server, it does
not affect different setups, so that's good.

I have multiple users on a Fedora Core 6 server.
Each user has their own user login and .rtorrent.rc file,
as well as a different scgi_port number for rtorrent.
Currently users use screen to start rtorrent, which keeps
it running even after they log out.

How do I set up n2hell on different ports, where each user will
use a different port and n2hell will use their .rctorrent.rc setup?
I used n2hell -port=7777 and get into the config setup, but I don't
know if it's enough to change the scgi_port and n2hell port
settings so that next time it points to the right place.

Will n2hell keep seperate config files for each port setup?
Where is this information saved, and can I edit it manually?

Thanks in advance.

vovasty

unread,
Mar 8, 2008, 3:31:30 AM3/8/08
to n2hell
Hi,
You have to spawn as many n2hell's instances as many you have users.
Each n2hell process must spawn from its own user, same as rtorrent.
n2hell keeps their configs in user home directory .n2hell. It
uses .rtorrent.rc from user home directory for configuration. So for
each n2hell instance you need to configure only web port and ssh
settings. scg_port will be detected automatically. If you wish
manually configure n2hell, user settings.js.default from distribution
as an templete, and set configured proprerty into true and copy with
name settings.js into .n2hell folder of corresponding user
Reply all
Reply to author
Forward
0 new messages