X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:references:date:from:reply-to
	:subject:to:in-reply-to:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=GIXWtVPfQKGPERr5
	FAdNDtw31otgySElJJxAlGAUmqsA8DoC7eJxkiAv7ISEDohk/aOrjYued9wxNUGB
	nmUqmdweUZ8+8gns1y7crJ/Rs9/SerGsSjbdaSU8rinRecCQ6ddjVJEx2fpteck9
	yTRJT+4trP0DaBFxSmDEOQet/qY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:references:date:from:reply-to
	:subject:to:in-reply-to:mime-version:content-type
	:content-transfer-encoding; s=default; bh=1z/aC0cbLYWxAC/yBHAo9W
	v5dEg=; b=r4pfidJc2oVIRHWosbTMEhd/id1VHLawsCrPfKum2J7lhoLNgPUaJJ
	mdfomubMd/teO0q5TDk2/VX2Hk/kUQlogDJr723dta7UqCZzzW3+KioXE/at7gwX
	UcxT+sWRvXlV98hYwEX+HCREYex2Fj80acCwuK535o/L8iaGFnrxw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*RU:182.22.66.105, Hx-spam-relays-external:182.22.66.105, Hx-spam-relays-external:sk:t603.bu, H*RU:sk:t603.bu
X-HELO: nh605-vm3.bullet.mail.ssk.yahoo.co.jp
Message-ID: <378057.95999.qm@web103103.mail.kks.yahoo.co.jp>
X-YMail-JAS: CFNsYAsVM1n_6FYrXUerMefh5RoHXm3Vc4oQFCTeiVPhwH.cU6XK_yYqDvpmkvAXmizcU8ln3rkgrXUM9.z9BPYz8Tn_2Fz2iSxZeHuMdeYAxQ1pVWV6MwZ780gQPXxewz6y
References: <10533.75624.qm@web103118.mail.kks.yahoo.co.jp> <f520c634-8640-d1c8-17d4-2bb66633c330@gmail.com> <749440.93478.qm@web103109.mail.kks.yahoo.co.jp> <1521087190047-0.post@n5.nabble.com> <87muz99pt5.fsf@Rainer.invalid>
Date: Fri, 16 Mar 2018 08:45:53 +0900 (JST)
From: Tatsuro MATSUOKA <tmacchant2@yahoo.co.jp>
Reply-To: Tatsuro MATSUOKA <matsuoka@nuce.nagoya-u.ac.jp>
Subject: Re: cygrunsrv -S cygserver on Cygwin86 does not run
To: Achim Gratz <Stromeko@nexgo.de>, cygwin@cygwin.com
In-Reply-To: <87muz99pt5.fsf@Rainer.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w2FNkMhG026108

----- Original Message -----

> From: Achim Gratz 
> To: cygwin
> Cc: 
> Date: 2018/3/16, Fri 03:06
> Subject: Re: cygrunsrv -S cygserver on Cygwin86 does not run
> 
>T atsuro MATSUOKA writes:
>>  At execute Cygwin setup, kiling all cygwin process is highly recommended
>>  becase setpup execute autorebase.
> 
> Well, it's mandatory actually.
> 
>>  kill-9-1_32_64.bat
>>  @echo off
>>  C:\cygwin\bin\cygstart --action=runas /bin/kill -9 -1
>>  C:\cygwin64\bin\cygstart --action=runas /bin/kill -9 -1
> 
> Myself, I use 'pkill .' (from the procps package), but if you run any
> daemons that keep state you better properly stop their services instead
> of killing them (NET STOP and NET START from CMD, no need to fire up
> Cygwin for this).  AT least you should send them A HUP ro TERM first,
> then wait a few seconds before sending KILL.
> 
> 
> Regards,
> Achim.
Thank you for your advise.
According to the page,
http://cygwin.wikia.com/wiki/Rebaseall
$ cygrunsrv -E <servicename>
The above seem to be propper way to stop sevice process.
If one kill all sevise, filter script should be described.
However, I only execute only two services, I use "cygrunsrv -E <servicename>" twice 
before kill -9 -1
at the moment
Tatsuro


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


