Threads - was: Re: simple question about a "rule"

Nelson Garcia garcian002 at hawaii.rr.com
Wed Jun 27 10:53:52 PDT 2001


Just a minor note from the bleachers related to the mailing list.  If you
change the topic of a thread it would make it easier on some of us if you
also changed the subject line of your message.
There are some good tips here that make this thread a "keeper", I'd just
like to be able to distinguish it from the initial thread under this subject
which was about ipchains rules.
Aloha,
Nelson

----- Original Message -----
From: "Eric Hagen" <ehagen at hawaii.edu>
To: "Linux & Unix Advocates & Users" <luau at maile.hi.net>
Sent: Wednesday, June 27, 2001 07:37 AM
Subject: [luau] Re: simple question about a "rule"


>
> Sorry, I missed the respawn part of the question.
>
> Eric Hagen                  "Sometimes we get lost in the darkness,
> ehagen at Hawaii.Edu      the dreamers learn to steer by the stars..."
>     "You fight for something because it is good.
> Not because it stands to succeed."
>
> On Wed, 27 Jun 2001, Ray Strode wrote:
>
> > > thanks for all of the suggestions, but I think I was unclear as to
what I
> > > wanted. I just want to start a program at boot, after the network is
> > > initialized, and if the process dies I want it to respawn. So lets say
I
> > > want to start hellworld at boot how do I do it.
> > Steve was right, Eric was close.  If you want it to automatically
restart,
> > the fastest way to do it, is to have init handle it.  init is the first
program
> > that gets called when your computer starts and it provides facillities
to
> > do what you want.  Eric's way will make the program run at startup,
> > but not respawn itself.
> >
> > As root type:
> > echo 'x:345:respawn:/usr/bin/HelloWorld' >> /etc/inittab
> >
> > Make sure the above line has two right carets.(>> instead of >).
Ofcourse
> > you change /usr/bin/HelloWorld to your program name, and 345 to the
> > runlevels you want it to be running on.
> >
> > --Ray
> >
> >



More information about the LUAU mailing list