Date: 23 Mar 2006 15:39:52 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: wc_fbsd@xxiii.com Cc: freebsd-questions@freebsd.org Subject: Re: How to start a script running at boot time? Message-ID: <44zmjgzyhz.fsf@be-well.ilk.org> In-Reply-To: <6.2.5.6.2.20060323151634.033f1248@xxiii.com> References: <6.2.5.6.2.20060323151634.033f1248@xxiii.com>
next in thread | previous in thread | raw e-mail | index | archive | help
wc_fbsd@xxiii.com writes: > 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. Um, okay. The "rc* stuff" covers a lot of techniques, including simple scripts that just get run without worrying about parameters or so on, but that's your call... > 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? How about using @reboot in the user's crontab(5)?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44zmjgzyhz.fsf>