[opensuse] unattended torrent
hello, I have a hosted server and I would use it to seed 11 torrent. I already have all what I need (iso, torrent, btXX), but I don't know how to start (and what incarnation of bt to start) to have it stay running when I close the ssh link idea? (& is not enough) thanks jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
jdd wrote:
hello, I have a hosted server and I would use it to seed 11 torrent. I already have all what I need (iso, torrent, btXX), but I don't know how to start (and what incarnation of bt to start) to have it stay running when I close the ssh link
idea? (& is not enough)
Use bittorrent-curses. /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thursday 19 June 2008 10:06, jdd wrote:
hello, I have a hosted server and I would use it to seed 11 torrent. I already have all what I need (iso, torrent, btXX), but I don't know how to start (and what incarnation of bt to start) to have it stay running when I close the ssh link
idea? (& is not enough)
Check out the "nohup" command. It's for precisely this purpose.
thanks jdd
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Randall R Schulz wrote:
On Thursday 19 June 2008 10:06, jdd wrote:
hello, I have a hosted server and I would use it to seed 11 torrent. I already have all what I need (iso, torrent, btXX), but I don't know how to start (and what incarnation of bt to start) to have it stay running when I close the ssh link
idea? (& is not enough)
Check out the "nohup" command. It's for precisely this purpose.
typical usage: $ nohup some_commmand_here arg1 arg2 arg3 & & runs the command asynchronously (i.e. it puts the process "in the background", so you can do other things). Nohup inserts a signal-catcher so that if the "HUP" signal (for "Hang-UP" -- think back to the days of modems and dial-up, even for command line logins) -- which a login shell issues to every child process just as it exits. Nohup intercepts this "HUP" signals, and allows the program to keep on running.
thanks jdd
Randall Schulz
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 20 June 2008 03:41, Matt Archer wrote:
Randall R Schulz wrote:
On Thursday 19 June 2008 10:06, jdd wrote:
hello, I have a hosted server and I would use it to seed 11 torrent. I already have all what I need (iso, torrent, btXX), but I don't know how to start (and what incarnation of bt to start) to have it stay running when I close the ssh link
idea? (& is not enough)
Check out the "nohup" command. It's for precisely this purpose.
typical usage:
$ nohup some_commmand_here arg1 arg2 arg3 &
& runs the command asynchronously (i.e. it puts the process "in the background", so you can do other things).
Nohup inserts a signal-catcher so that if the "HUP" signal (for "Hang-UP" -- think back to the days of modems and dial-up, even for command line logins) -- which a login shell issues to every child process just as it exits.
Just for the sake of accuracy, it' is the terminal driver that generates SIGHUP. In the classic case of serial modems, it is triggered by and reflects literally the fact that a modem was hung up. The same would happen if a serial line were physically disconnected or the equipment (terminal) at the other end was powered off. In the modern case, where almost every terminal is a "pseudo tty," with processes on opposite sides (called master and slave) of the driver, it is the fact no process holds the master side open any longer that triggers the generation of SIGHUP.
Nohup intercepts this "HUP" signals, and allows the program to keep on running.
Again, for the sake of accuracy, the "nohup" command sets the handling for SIGHUP to ignored and then runs the command specified in its arguments, which inherits this "ignored" status. In particular, signals can only be caught by the program to which they're delivered, though if a signal causes a program's death, its parent can tell, via the exit status it receives, whether a signal caused the death and if so which signal it was. Also note that if you have not redirected output descriptors that would ordinarily go to the (pseudo-) tty, nohup will redirect them to a file called "nohup.out" for you. Lastly, some programs, usually servers such as Apache, will catch SIGHUP and when they receive it they reload their configuration files. Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
idea? (& is not enough)
thanks jdd --
You can also get bittornado for linux (python fork) and run the torrent like: /usr/bin/python -OO /path/to/tornado/bittornado.py /path/to/opensuse.torrent --responsefile /path/to/opensuse.torrent --display_interval 1 --max_download_rate 0 --max_upload_rate 100 --max_uploads 4 --minport 49160 --maxport 49300 --rerequest_interval 1800 --super_seeder 0 --max_connections 40 Put that in a screen and you should be good to go. (configure if you want to limit upload speed) -- Best regards, Nick Zeljkovic -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Jun 19, 2008 at 12:28 PM, Nick Zeljkovic
Put that in a screen and you should be good to go. (configure if you want to limit upload speed)
I think Nick is making a subtle suggestion: try GNU Screen. You can start programs in a Screen session and then detach the session. The programs will keep running in Screen even if you log off. Coincidentally, I discovered Screen when I started my bittorrent server. GNU Screen http://www.gnu.org/software/screen/ Mike -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Jun 19, 2008 at 10:06 AM, jdd
hello, I have a hosted server and I would use it to seed 11 torrent. I already have all what I need (iso, torrent, btXX), but I don't know how to start (and what incarnation of bt to start) to have it stay running when I close the ssh link
idea? (& is not enough)
thanks jdd
Be sure to check you Acceptable Use agreement with your hosting company. If its 100% YOUR box and you pay bandwidth then this is probably OK, but some hosting companies that provide you a "virtual box" may not allow this. -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
John Andersen wrote:
Be sure to check you Acceptable Use agreement with your hosting company. If its 100% YOUR box and you pay bandwidth then this is probably OK, but some hosting companies that provide you a "virtual box" may not allow this.
don't worry, I have 100Mb symetrical and anyway bt dont allow that much (but the dvd ftp dl was 7 minutes :-) jdd -- http://www.dodin.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Jun 19, 2008 at 12:06 PM, jdd
hello, I have a hosted server and I would use it to seed 11 torrent. I already have all what I need (iso, torrent, btXX), but I don't know how to start (and what incarnation of bt to start) to have it stay running when I close the ssh link
idea? (& is not enough)
Azureus has a command-line/standalone mode and web interface: http://www.azureuswiki.com/index.php/Console_UI Cheers -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (8)
-
jdd
-
John Andersen
-
Matt Archer
-
Michael Mientus
-
Nick Zeljkovic
-
Per Jessen
-
Randall R Schulz
-
Sunny