Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2006 15:34:34 -0500
From:      wc_fbsd@xxiii.com
To:        freebsd-questions@freebsd.org
Subject:   How to start a script running at boot time?
Message-ID:  <6.2.5.6.2.20060323151634.033f1248@xxiii.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have a script I would like to launch at boot time, as a non-root 
user,  to remain running in the background.  What is the best way to 
accomplish this?  I looked through the rc* stuff, and it looks like 
overkill for what I need, plus my scripting isn't that strong either.

I know I can do something like:   su - user -c "script_to_run"
But I don't even know what's the best place to include that.

Any suggestions, or examples?

    -Thanks,  Wayne




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