X-Recipient: archive-cygwin AT delorie DOT 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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=FS+fqWWDfttR02Be
	leoS938RRmYqCLCIFb6WHDodCDBVjNJ9Sptdg0z+EnSuEV4P76tYhYZg8dkiigyl
	YwJaDHAZjWCgngTmNXv7OOn2tYdsNnjCVTA2dKK/82kYOuMadOyMJnaMNxcBtbzt
	AhimCFDNEr3ZkTRoWArhLbg8c10=
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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=pFzIAeHXfMG9Rk9dU69bCl
	w3TQ4=; b=Jr+ex+LBWYHPxAhHTNi6Jc8QEtf7Ekbr098xczBmYcM13K7SgR1/N9
	St4ww3pgGkgf683GSuzdKhQG5n9jEAOFin+6/yuVp5ObMgHc0X33t/QKbw3+z7AG
	jP2vn9NfjYrBChN2eKAL3ZrzxMW/ucrWPaqZ7SLEYwI3nHwhAYDys=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*u:6.1, H*UA:6.1, services, HContent-Transfer-Encoding:8bit
X-HELO: mail-wm0-f49.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:sender:subject:to:references:from:message-id         :disposition-notification-to:date:user-agent:mime-version         :in-reply-to:content-language:content-transfer-encoding;        bh=yaNUIY0lYE0oRfMDpwZILBqf9OCfBRkS7tA02o0MmX0=;        b=bAJWFu/YqimYVGlfE1EsrRs2wTZ9W7lYgrNN7KJWz5x7F6gHTPy92vJ95zKrohuNOp         ngAHTCuw1BDafLaNNZlqC1RKzU12qN53Ve6/CoCM3/bGuXSgxavLD4bkxsgce58gFwuW         h6U1TUr+hheiEUJXWOxewawVrvFdBO8CJ214SfQZIuGtoeStWEiL3JHuOr4bOe9QoGlH         47fn2kNT5UdYMkdbKgQIwVRPF5vIf0VQXPVcB7UFpFNXYVEPpee4uU1pf2QMH2afVaPy         3SZAThfiIhvLVKxzIA2FnwgscwKWvOaq77Wnbh7phJ+Mnb23sSv3VSMep1mEpyL7xxoy         pwug==
X-Gm-Message-State: AElRT7F+zPHhZoAuUMKlGkgDf8dM3LmN/Z8mEwGS+lHykwhdPoiGzRMR	z6667LC/vFk8mtpwAV/y4byEsA==
X-Google-Smtp-Source: AG47ELunXBLQqQqX0FgHcN6HnPcgqECApOvXI87J7YypmjCqiwt102gixcYDdBfbn/hv8q8a5HwX+Q==
X-Received: by 10.80.207.129 with SMTP id h1mr12448864edk.207.1521449590840;        Mon, 19 Mar 2018 01:53:10 -0700 (PDT)
Subject: Re: output warning for cygwin process running at setup__.exe
To: cygwin AT cygwin DOT com
References: <920600 DOT 51654 DOT qm AT web103111 DOT mail DOT kks DOT yahoo DOT co DOT jp> <9410201895 DOT 20180319024642 AT yandex DOT ru> <11025 DOT 1286 DOT qm AT web103117 DOT mail DOT kks DOT yahoo DOT co DOT jp> <774778050 DOT 20180319055609 AT yandex DOT ru> <4afd0f8f-f3fd-d41f-1e82-2beb0804f109 AT SystematicSw DOT ab DOT ca> <1694481348 DOT 20180319070236 AT yandex DOT ru> <687282 DOT 15682 DOT qm AT web103112 DOT mail DOT kks DOT yahoo DOT co DOT jp>
From: Vlado <v DOT 99cygwin AT gmail DOT com>
Message-ID: <979d6e8f-464d-abe8-a050-abc0db0d256a@gmail.com>
Date: Mon, 19 Mar 2018 09:53:11 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <687282.15682.qm@web103112.mail.kks.yahoo.co.jp>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-IsSubscribed: yes

On 19.3.2018 5:56, Tatsuro MATSUOKA wrote:
> Sever survice like cygsever always start after windows re-start if it is registered.
> So restart does not always kill cygwin processes.
> I do not want to force to  kill cygwin process by setupXX.exe but output the warning.

Hi,

I use script [1] for years in order to:
- allways use latest setup.exe
- stop all running Cygwin services* before setup is started
- start formerlly runnig Cygwin services after setup is done
- and more

*) services I usually run; feel free to add more services according your 
needs


1: https://gist.github.com/Vlado-99/1d59bf05b70481377ff90bb53e13bb2d

Vlado

--
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