From: Edmund L. <el...@in...> - 2002-05-16 15:28:33
|
Rolf wrote: >>Does anyone have a good script for starting webware at system boot, on RedHat? If not, I can put something together and post to the list. (or post somewhere else)<< There was discussion about this about 2 weeks ago. You might want to search for it. My suggestion is to use daemontools. ...Edmund. |
From: Edmund L. <el...@in...> - 2002-05-16 16:42:43
|
>>THat was a slightly different issue of monitoring failed daemons.<< True, but daemontools will also start daemons up at boot. I'm assuming Rolf wants to start it and keep it up! :-) ...Edmund. |
From: Edmund L. <el...@in...> - 2002-05-16 17:06:00
|
Tavis wrote: >Instead of just having daemontools restart WebKit you have it call a >tiny wrapper script that sends an email and starts WebKit. Another >way is to put some email sending code in an __init__.py module that >will be loaded when WebKit starts. Yet another functionally equivalent way would be to just include a mail command in the run script that starts WebKit. ...Edmund. |
From: Tim R. <ti...@pr...> - 2002-05-16 20:52:07
|
On Thu, 16 May 2002 18:37:06 +0200, Bill Eldridge <bi...@rf...> wrote: > >>> Does anyone have a good script for starting webware at system boot, on >>> RedHat? If not, I can put something together and post to the list. (or >>> post somewhere else) > >THat was a slightly different issue of monitoring failed >daemons. > >THe file 'webkit' in the WebKit can be edited and copied to >say /etc/rc.d/rc3.d/S99webkit to start WebKit up at boot. >(follows the "start/stop/restart" habit) Actually, the way a script like this should be used is to copy the script to /etc/rc.d/init.d/webkit, then create symbolic links to that as /etc/rc.d/rc3.d/S99webkit and /etc/rc.d/rc3.d/K01webkit. That way, you'll get the proper shutdown sequence as well, plus they can be managed by tools like ntsysv. -- - Tim Roberts, ti...@pr... Providenza & Boekelheide, Inc. |
From: Bill E. <bi...@rf...> - 2002-05-16 16:35:05
|
>>>Does anyone have a good script for starting webware at system boot, on >> > RedHat? If not, I can put something together and post to the list. (or post > > somewhere else)<< > > There was discussion about this about 2 weeks ago. You might want to search > for it. My suggestion is to use daemontools. THat was a slightly different issue of monitoring failed daemons. THe file 'webkit' in the WebKit can be edited and copied to say /etc/rc.d/rc3.d/S99webkit to start WebKit up at boot. (follows the "start/stop/restart" habit) -- Bill Eldridge Radio Free Asia bi...@rf... |
From: Rolf H. <ro...@gi...> - 2002-05-16 16:50:09
|
I'll probably use Bill's suggestion until I can figure out a script for restarting webware via daemontools. (already using daemontools to control qmail) On a related note, is there a way to set up daemontools to send a notification when a daemon dies and restarts? I suppose this is a topic for another mailing list... Rolf On Thursday, May 16, 2002, at 12:37 PM, Bill Eldridge wrote: >>>> Does anyone have a good script for starting webware at system boot, >>>> on >>> >> RedHat? If not, I can put something together and post to the list. (or >> post >> somewhere else)<< >> There was discussion about this about 2 weeks ago. You might want to >> search >> for it. My suggestion is to use daemontools. > > THat was a slightly different issue of monitoring failed > daemons. > > THe file 'webkit' in the WebKit can be edited and copied to > say /etc/rc.d/rc3.d/S99webkit to start WebKit up at boot. > (follows the "start/stop/restart" habit) > > > > -- Bill Eldridge > Radio Free Asia > bi...@rf... > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download mirrors. We > supply > the hardware. You get the recognition. Email Us: > ban...@so... > _______________________________________________ > Webware-discuss mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webware-discuss > |
From: Tavis R. <ta...@re...> - 2002-05-16 16:59:16
|
On May 16, 2002 09:50 am, Rolf Hanson wrote: > I'll probably use Bill's suggestion until I can figure out a script for > restarting webware via daemontools. (already using daemontools to > control qmail) > > On a related note, is there a way to set up daemontools to send a > notification when a daemon dies and restarts? I suppose this is a topic > for another mailing list... Instead of just having daemontools restart WebKit you have it call a tiny= =20 wrapper script that sends an email and starts WebKit. Another way is to = put=20 some email sending code in an __init__.py module that will be loaded when= =20 WebKit starts. Tavis |