Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Sep 1998 12:43:47 +0200
From:      Neil Blakey-Milner <nbm@rucus.ru.ac.za>
To:        David Vondrasek <david@stumbleinn.dyn.ml.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Easy Question I hope.
Message-ID:  <19980908124347.A13053@rucus.ru.ac.za>
In-Reply-To: <Pine.BSF.4.01.9809080049020.609-100000@stumbleinn.dyn.ml.org>; from David Vondrasek on Tue, Sep 08, 1998 at 12:53:20AM -0500
References:  <Pine.BSF.4.01.9809080049020.609-100000@stumbleinn.dyn.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue 1998-09-08 (00:53), David Vondrasek wrote:
> restart them. There HAS to be away to have then start up
> on boot. I know how to do it as a ROOT user with cron
> or in rc.d But these are user processes that I need
> restarted. And would like them to restart automaticlly.

I have a netfu.sh in my /usr/local/etc/rc.d

//----
#!/bin/sh
su netfu /home/netfu/netfu.run
//----

It automatically starts netfu on my machine, run as the netfu user.

Hopefully you can adapt this to your tastes.

Neil
-- 
Neil Blakey-Milner
nbm@rucus.ru.ac.za

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?19980908124347.A13053>