Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 15:14:07 +0200
From:      "Patrick O'Reilly" <bsd@perimeter.co.za>
To:        Kevin Golding <kevin@caomhin.demon.co.uk>, Unix Newbie <unix_newbie@earthlink.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: adding a service at start up
Message-ID:  <200204071508.46778@.perimeter.co.za>
In-Reply-To: <1ZT5VFBj31r8Ewn9@caomhin.demon.co.uk>
References:  <1017952363.8817.36.camel@debian> <1ZT5VFBj31r8Ewn9@caomhin.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat 06 Apr 02 22:43, Kevin Golding wrote:
> In message <1017952363.8817.36.camel@debian>, Unix Newbie
> <unix_newbie@earthlink.net> writes
>
> >    I have been looking around on the net a bit and I cannot quite
> > seem to find out how to add a service/dameon to run at start up.
> >
> >  Thanks so much! Docs, urls, I'd like pretty much anything.
>
> You'd want a startup script in /usr/local/etc/rc.d
>
> http://www.freebsd.org/handbook/configtuning-starting-services.html
>
> covers it far better than I could.
>

The script in /usr/local/etc/rc.d should be named script.sh, where the 
script part is whatever you please, but it must end with .sh.  And it 
must be executable.

Patrick.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204071508.46778>