Subject: Writing rc.d scripts
To: None <email@example.com>
From: Todd Gruhn's account <firstname.lastname@example.org>
Date: 08/18/2001 11:38:38
I too am interested in writing rc.d scripts: I wish to write and use
/etc/rc.d/apache to start and stop httpd (apache of course).
But when I execute ./apache I get:
./apache: WARNING: $httpd is not set properly.
Just what does this mean? I don't have an $httpd var, just $name
here is my code:
gandalf# more ./apache
# $NetBSD: ipmon,v 220.127.116.11 2000/10/02 01:07:17 lukem Exp $
# PROVIDE: httpd
# REQUIRE: DAEMON
command_args="-d /etc/http -f /etc/http/conf/httpd.conf &"
# was command_args="&"
Indeed in nothing is the power of the Dark Lord more clearly shown than in the
estrangement that divides all those who still oppose him. --Lord of the Rings