Want CGI script to test and start daemon - was Re: CGI problem, please help

2003-09-12 Thread drieux
On Friday, Sep 12, 2003, at 00:47 US/Pacific, [EMAIL PROTECTED] wrote: Sergey, ah, I see, you are new to the Ungainly Art, of not only programming, which you are doing well in, but the more Arcane art of Daemonology. So bear with me while I try to write some 'back and fill' here. A part of the

CGI problem, please help

2003-09-10 Thread Sergey . Garanin
Hello, Please help me with the following problem: I use two simple programs - start.pl, which might be executed from a browser or under shell: #!/usr/bin/perl -w open(PID, pid) || die Can't open PID file: $!; $pid = PID; close PID; if(defined $pid){ if($pid==0){ print Location: