X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler@upb.de>
Subject:  Re: Cygrunsrv starts service but reports that it didn't start
Date:  Wed, 12 Apr 2006 18:50:40 +0200
Lines: 37
Message-ID: <e1jb55$5hu$1@sea.gmane.org>
References:  <86476431DFAE1A4A8496A9DCC4F3E8A65C6F3E@kmmail1.km.kobieloyalty>
Mime-Version:  1.0
Content-Type:  multipart/signed; micalg=pgp-sha1;  protocol="application/pgp-signature";  boundary="------------enigA0723DF204B39AF7E98F7E65"
User-Agent: Mail/News 1.5 (X11/20060116)
In-Reply-To: <86476431DFAE1A4A8496A9DCC4F3E8A65C6F3E@kmmail1.km.kobieloyalty>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

--------------enigA0723DF204B39AF7E98F7E65
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

> Command             : /usr/sbin/sshd -D

for sshd, "-D" means, that the sshd process will _not_ detach from his
parent process (which is cygrunsrv)

> Command             : /usr/local/sbin/samhain -D

and according to the docs, saimhain will _not_ detach from the parent
process to become a daemon.
(which would be the same behaviour than "sshd -D")

But you specified "-D" as an option to samhain and the docs say, that
"-D" will cause that samhain does detach from its parent - which is the
opposite of what you want, because you want samhain to be under the
control of cygrunsrv, and therefor you want that it does detach.


--------------enigA0723DF204B39AF7E98F7E65
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEPS/g7Ww7FjRBE4ARAocNAJ43jAA8nRg2i+TJiS+7WtTij8cQywCaA5ta
aBD9J5uDcgZ6rSTfczHwwSo=
=g3KA
-----END PGP SIGNATURE-----

--------------enigA0723DF204B39AF7E98F7E65--

