X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: =?UTF-8?B?UmVuw6kgQmVyYmVy?= <r.berber@computer.org>
Subject:  Re: About services
Date:  Sat, 24 Dec 2005 18:07:50 -0600
Lines: 46
Message-ID: <doknrp$8vu$1@sea.gmane.org>
References:  <7914781.1135468216200.JavaMail.www@wwinf1533>
Mime-Version:  1.0
Content-Type:  text/plain; charset=UTF-8
Content-Transfer-Encoding:  quoted-printable
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
In-Reply-To: <7914781.1135468216200.JavaMail.www@wwinf1533>
OpenPGP: url=ldap://keyserver.pgp.com
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

Theoharis TSENIS wrote:
> Well,
>         guys iam stuck. I know from linux that init 5 initialize the the =
runlevel5 .

Forget about "init 5" or "init 6", in Cygwin most services are installed as
Windows services, and as such they start with the OS and stop with the OS (=
or
under your control -- Windows Manage Services or net start/stop/restart ...)

> I [k]now for a fact that the inetd or the xinetd start ase a service insi=
de the rc.?

Wrong, if you install the inetd or the xinetd package in Cygwin, follow the
instructions in /usr/share/doc/Cygwin/<name and version of package>.README,=
 then
you end up with a Windows service.

> directory. Now the big question. How do i do that in Cygwin? If i start t=
he
bash.exe
> interface automatically will start the init father procedure? But with th=
e ps
i cant
>see it. If i run the "net start [service]" stand alone with out the bash.e=
xe
will it
> work? From the unix prompt if i run init 6 will it close down? Finally wh=
ere can i
>find some infos on that - the info files of cygwin is stupid-.

The big question is: what services do you want?

There is an initscripts package but I would recommend to stay away from it =
(I
have not tested it recently but a year ago it didn't work for anything but =
the
sample) and xinetd depends on it so the same goes for it.

HTH
--=20
Ren=C3=A9 Berber



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

