delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/01/26/10:05:20

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 17C05385041C
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1643209501; bh=VlPxu2RqJ8txGGbQPShhjfnqrOPR4Q1ih/1zLFsR+dw=;
h=In-Reply-To:Subject:From:Message-ID:References:Date:Reply-To:To;
b=SVn9gTVIo5XeaMNDiV8bFOGO5u53JB0qlO5d94N0d5jdFRwUxGbT3MB9NEYTUDIHs
BulX4l4YjBETfuAEJCs2N3OlfmrlnkwflD1M8K8QNeXORQd8hpmUsNIev8A8Tho+dE
J+pIjLM9eehu6Uu67X3LOvk1omAWE9JWwoZX2nuE=
Authentication-Results: vla5-8f5c42dab783.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
X-Yandex-Fwd: 2
Date: Wed, 26 Jan 2022 17:50:29 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <118552712.20220126175029@yandex.ru>
To: Brian Inglis <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: [EXTERNAL] Updated cygwin this morning,
mintty window flashes briefly and quits
In-Reply-To: <59cdd990-5b36-7cc8-8d97-4f3c1f042535@SystematicSw.ab.ca>
References: <CAFWoy7ELn=KACzSEkBRBiapPJw_Ka-A3hx0LvOH3GPwPiNsM=A AT mail DOT gmail DOT com>
<SJ0PR09MB71022762C47F7DBD561593B1A55A9 AT SJ0PR09MB7102 DOT namprd09 DOT prod DOT outlook DOT com>
<CAFWoy7EJ3tkc2F9h74_hny0Fu5Jf5qLeca1pFdSUaxX7YjTLmg AT mail DOT gmail DOT com>
<SJ0PR09MB71023C5EF158E30414727266A55A9 AT SJ0PR09MB7102 DOT namprd09 DOT prod DOT outlook DOT com>
<59cdd990-5b36-7cc8-8d97-4f3c1f042535 AT SystematicSw DOT ab DOT ca>
MIME-Version: 1.0
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, Brian Inglis!

> restart them in a late local permanent postinstall script
> /etc/postinstall/zp_z0_l_start_services.dash after setup.

It never occured to me that I can use postinstall tasks to restart services :D

Just add a line

for svc in cygserver $( cygrunsrv --list | grep -v cygserver ); do net start "$svc"; done

and you're golden!


-- 
With best regards,
Andrey Repin
Wednesday, January 26, 2022 17:48:31

Sorry for my terrible english...


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

- Raw text -


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