why my daemon did not start
Erik Norgaard
norgaard at math.ku.dk
Tue Oct 18 08:50:59 PDT 2005
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 ':-'
> . /etc/rc.subr
Using this you need to enable the script in /etc/rc.conf
Erik
More information about the freebsd-questions
mailing list