delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/12/12:51:35

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?ISO-8859-1?Q?Sven_K=F6hler?= <skoehler AT upb DOT 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 AT kmmail1 DOT km DOT kobieloyalty>
Mime-Version: 1.0
User-Agent: Mail/News 1.5 (X11/20060116)
In-Reply-To: <86476431DFAE1A4A8496A9DCC4F3E8A65C6F3E@kmmail1.km.kobieloyalty>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019