On Tue, 8 Mar 2011, Simon Leung wrote:
> On 08/03/11 15:21, ysuwansiri wrote:
> > Guys,
> >
> > I have TS-4200. I tried to run a server software on daemon. I ran for a
> > few hours and died, then I have to start up the program again. Is it anyway
> > I can autostart the program when it dies?
> >
> > Thank you,
> >
> You probably want to find out why it died.
seconded!
> But to answer your question:
> you can specify 'respawn' in /etc/inittab for your purpose. See 'man 5
> inittab'
and if you are not using init to launch your daemon, then you need
to launch a script that launces the daemon and checks it is running - if
not it restarts it.
> > Arm
> >
> >
> >
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|