Date: Thu, 07 May 2009 20:23:50 +0200 From: Christian Laursen <xi@borderworlds.dk> To: Nerius Landys <nlandys@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Run script on boot, as ordinary user Message-ID: <4A032736.4080802@borderworlds.dk> In-Reply-To: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com> References: <560f92640905071057v7d298a68l680182144cc8898f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Nerius Landys wrote: > So there's cron. Is there anything that lets an ordinary user start > his/her programs at bootup of the system? And then run a script when > the system is shutting down? I'm familiar with /etc/rc.d/, but that's > not really what I'm looking for. I gave my friends access to my > FreeBSD server and I want to let them start for example Apache and/or > MySQL on higher ports running as their own user. Starting something at boot is easy enough. The user can just add a line like this to his/her crontab: @reboot /path/to/command At shutdown is not possible via cron though. -- Christian Laursen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A032736.4080802>