On 10/15/2009 06:15 PM, Girish Venkatachalam wrote:
On Thu, Oct 15, 2009 at 2:25 PM, Kenneth Gonsalves
<law...@thenilgiris.com>  wrote:
 hi,

 I need to run a python server on my remote box. At present I do:
[...snip...]
If you run a server you should daemonize it. What is necessary is to
make it the
session group leader of a different session. setsid() is also found in shells.

If you want to run a command at a particular time once,  you have the
at(1) command.

For servers, the preferred way is to daemonize either using perl or C.
Since you are a
python enthusiast I hope there is a way to do it in python as well.

Or you could just use daemonize:

http://www.clapper.org/software/daemonize/
http://www.clapper.org/software/daemonize/daemonize.1.html

The package for you fav. disto might be available

cheers,
- steve
--
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/
_______________________________________________
To unsubscribe, email ilugc-requ...@ae.iitm.ac.in with "unsubscribe <password> <address>" in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to