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


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/


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