List Info

Thread: why my daemon did not start




why my daemon did not start
user name
2005-10-18 15:50:55
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
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )