This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: init.d
- From: Max Bowsher <maxb at ukf dot net>
- To: cygwin at cygwin dot com
- Cc: Guillaume Devoyon <guillaume dot devoyon at integro-networks dot com>
- Date: Tue, 11 Mar 2003 16:51:27 +0000 (GMT Standard Time)
- Subject: RE: init.d
- References: <Pine.GSO.4.44.0303111140170.11568-100000@slinky.cs.nyu.edu>
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.
--
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/