public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: Brian Inglis <cygwin@cygwin.com>, cygwin@cygwin.com
Subject: Re: [EXTERNAL] Updated cygwin this morning, mintty window flashes briefly and quits
Date: Wed, 26 Jan 2022 17:50:29 +0300	[thread overview]
Message-ID: <118552712.20220126175029@yandex.ru> (raw)
In-Reply-To: <59cdd990-5b36-7cc8-8d97-4f3c1f042535@SystematicSw.ab.ca>

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


  reply	other threads:[~2022-01-26 15:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20 16:15 Keith Christian
2022-01-20 16:41 ` [EXTERNAL] " Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2022-01-20 18:33   ` Keith Christian
2022-01-20 20:24     ` Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2022-01-20 23:02       ` Keith Christian
2022-01-21  7:45       ` Brian Inglis
2022-01-26 14:50         ` Andrey Repin [this message]
2022-01-26 20:23           ` services startup postinstall scripts Brian Inglis
2022-01-28  8:18             ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=118552712.20220126175029@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).