ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Q: Имя макроса для отложенного перезапуска сервисов
Date: Mon, 20 Dec 2021 20:07:06 +0300
Message-ID: <20211220170706.GD20838@altlinux.org> (raw)
In-Reply-To: <562b4d21-af52-01bc-4383-1f538b29f234@rosalinux.ru>

On Mon, Dec 20, 2021 at 08:00:30PM +0300, Mikhail Novosyolov wrote:
> 
> 10.12.2021 13:15, Dmitry V. Levin пишет:
> 
> > - %post_service_posttrans_restart:
> >   макрос для секции %post, который ставит service в очередь на перезапуск
> >   по окончании транзакции.
> Такое сложное решение чем-то лучше просто перезапуска в %posttrans?

Просто перезапуска в %posttrans недостаточно, поскольку что-то ещё нужно
делать в случае установки, а не обновления.  Можно, конечно, всё перенести
в %posttrans, но %pre_service_stop_posttrans_start в %posttrans никак не
перенести, а реализация во многом общая, так что суммарно такой вариант
получается проще.


-- 
ldv


      reply	other threads:[~2021-12-20 17:07 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-14 18:18 Vladimir D. Seleznev
2021-09-14 20:23 ` Michael Shigorin
2021-09-14 21:51   ` Dmitry V. Levin
2021-09-14 20:30 ` Andrew A. Vasilyev
2021-09-14 20:34 ` Alexey V. Vissarionov
2021-09-14 20:51 ` Leonid Krivoshein
2021-09-14 21:54   ` Dmitry V. Levin
2021-09-14 22:11     ` Leonid Krivoshein
2021-09-15 11:30   ` Anton V. Boyarshinov
2021-09-15 13:01     ` Alexey V. Vissarionov
2021-09-15 13:39     ` Leonid Krivoshein
2021-12-20 16:50   ` Mikhail Novosyolov
2021-09-14 23:08 ` Dmitry V. Levin
2021-09-15  6:04   ` Anton Farygin
2021-09-15  7:35     ` Dmitry V. Levin
2021-09-15  8:29       ` Anton Farygin
2021-09-15  8:39         ` Dmitry V. Levin
2021-09-15  8:51           ` Anton Farygin
2021-09-15  8:39   ` Konstantin Lepikhov
2021-12-10 10:15 ` Dmitry V. Levin
2021-12-10 10:51   ` Vladimir D. Seleznev
2021-12-10 11:08     ` Dmitry V. Levin
2021-12-15 23:57       ` Dmitry V. Levin
2021-12-16  6:38         ` Anton Farygin
2021-12-16 10:34           ` Dmitry V. Levin
2021-12-20 17:00   ` Mikhail Novosyolov
2021-12-20 17:07     ` Dmitry V. Levin [this message]

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=20211220170706.GD20838@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git