Since it doesn't self fork like a deamon anyways, I say we could just as well take this sort of commands from STDIN. People who want to nohup and forget can do that, while people who want to use screen or something can do that, and people who want to control it via the network can pipe nc or ssh into it and patch their own security holes...
On Sun, 16 Apr 2000, Ian Clarke wrote: > We really need a way to send signals to Freenet to instruct it to Shut > down, and optionally to do some debugging stuff too (such as printing > the datastore and such-like). The current mechanism (ie. killing the > java interpreter) is *really* ugly. > > Perhaps it should listen on a port which is written out on startup to a > freenet.port file in the Freenet directory? It could then accept > instructions on this port such as "shutdown", "show datastore", "clear > datastore", "show message memories" etc. > > Ian. > > _______________________________________________ > Freenet-dev mailing list > Freenet-dev at lists.sourceforge.net > http://lists.sourceforge.net/mailman/listinfo/freenet-dev -- Oskar Sandberg md98-osa at nada.kth.se #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
