This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: init.d


speaking as a novice in this area, would running it from init (with init
running as a service) work ? or would this suffer from the same problems ? 

> -----Original Message-----
> From: Guillaume Devoyon 
> [mailto:guillaume dot devoyon at integro-networks dot com]
> Sent: 13 March 2003 17:05
> To: cygwin at cygwin dot com
> Subject: RE: init.d
> 
> 
> 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 at cygwin dot com 
> [mailto:cygwin-owner at cygwin dot com]De la part
> de Igor Pechtchanski
> Envoye : mardi 11 mars 2003 18:03
> A : Max Bowsher
> Cc : cygwin at cygwin dot 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 at cs dot nyu dot edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson dot ibm dot 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/
> 

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]