How to start a script running at boot time?

wc_fbsd at xxiii.com wc_fbsd at xxiii.com
Thu Mar 23 20:34:41 UTC 2006


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



More information about the freebsd-questions mailing list