Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com From: "Guillaume Devoyon" To: Subject: RE: init.d Date: Thu, 13 Mar 2003 18:04:55 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 In-Reply-To: well, i think you'r right... when the webmin start, it goes on background without giving any information to the cygrunsrv... Right now, i've made all my webmin config running but i'm unable to run it automatically at the boot.... i need help from superman ?? hehe.. I try many things in order to bypass the service... i've put the cygwin.bat in staring menu in microsoft, and in it i'f modified the bat file with option "-initfile /etc/webmin/start".. i can say it start pretty well with just the problem that in this case, at the computer boot, the cygwin terminal is launch (normal it is the W2000 starting menu) but the terminal stay in foregrounf and it is freezed ;-((( pfffeuuu when i want that webmin stay on foreground it goes on background and countrary... there will not be an middle world ? Guillaume -----Message d'origine----- De : cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]De la part de Igor Pechtchanski Envoye : mardi 11 mars 2003 18:03 A : Max Bowsher Cc : cygwin@cygwin.com; Guillaume Devoyon Objet : RE: init.d On Tue, 11 Mar 2003, Max Bowsher wrote: > On Tue, 11 Mar 2003, Igor Pechtchanski wrote: > > > IIRC, cygrunsrv expects the program it's starting to fork > > itself and exit with an appropriate return code within a certain time > > window. Otherwise it times out and says "the service could not be started > > proprely". sshd and httpd (and some others as well) have an option to > > fork and exit -- see if webmin has one as well. > > I think you've got that backwards. Cygrunsrv expects the process to *not* > fork and exit, and the sshd/httpd/rsyncd options are for *preventing* > the usual fork and exit. > > Max. Yep, Max, you're right. Sorry... Still, Guillaume, see if webmin has flags that would make it behave as cygrunsrv expects. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/