Re: why my daemon did not start

2005-10-18 Thread Erik Norgaard
On Tue, 18 Oct 2005, Foo JH wrote: Hi all, I'm trying to write a simple RC script to run my little Perl script as a daemon. The script is as follows: #!/bin/sh portal_enable=${portal_enable-"NO"} portal_flags=${portal_flags-""} you should correct these: to set the default value use ':-' .

Re: why my daemon did not start

2005-10-18 Thread Andrew L. Gould
On Tue, 18 Oct 2005 23:34:15 +0800 "Foo JH" <[EMAIL PROTECTED]> wrote: > Hi all, I'm trying to write a simple RC script to run my little Perl > script as a daemon. The script is as follows: > > #!/bin/sh > > portal_enable=${portal_enable-"NO"} > portal_flags=${portal_flags-""} > portal_pidfile="