How to make init(8) run a daemon to me??

Björn König bjoern.koenig at spray.se
Sun Dec 18 02:50:57 PST 2005


Gustavo Parrini schrieb:

> I'm having a pretty hard time trying to figure out how
> can I get init(8) to run a daemon and respawn it if it
> crashes. By the time I was a Linux user, it was done by
> adding a line in /etc/inittab and it was all...
> 
> I know that it must be done in /etc/ttys but I couldn't
> find any syntax example after searching the FreeBSD manpages,
> maillists, Handbook and Google.

This is an example for /etc/ttys:

""      "/bin/sleep 12" unknown on  secure


Björn


More information about the freebsd-questions mailing list