ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Pavel Shilovsky <piastry@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Поддержка systemd в post/preun_service скриптах
Date: Wed, 6 Feb 2013 10:20:25 +0400
Message-ID: <CAKywueSk1nHfGuQ6HXEy0-pCTHjVnEjjTnD7RJr4hxp6qc9v+g@mail.gmail.com> (raw)
In-Reply-To: <CAKywueSeNAVnA6e06rMssocHu=fW4UuDKa4Ea0e-5b3-q29Yhw@mail.gmail.com>

5 февраля 2013 г., 14:40 пользователь Pavel Shilovsky
<piastry@altlinux.org> написал:
> 5 февраля 2013 г., 4:14 пользователь Dmitry V. Levin <ldv@altlinux.org> написал:
>> Обучить post/preun_service по аналогии с service все равно нужно для того,
>> чтобы проще было поддерживать сервисы, в которых есть service-файлы и
>> уже нет init-скриптов.  Но это надо сделать более тонко, чем в
>> вышеупомянутом патче.
>
> Согласен, что данная реализация не самая лучшая. Возможно стоит
> перенести определение используется ли systemd в системе или нет в
> отдельный файл куда-нибудь в /usr/share/service-functions?

Вынес определение systemd в отдельный файл. Новая версия патча доступна тут:
http://git.altlinux.org/people/piastry/packages/?p=service.git;a=commitdiff;h=7c5974a11c65a5eb5e080a8a4772e7c44df409fe

-- 
Best regards,
Pavel Shilovsky.

  parent reply	other threads:[~2013-02-06  6:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-04 12:02 Pavel Shilovsky
2013-02-04 12:10 ` Dmitry V. Levin
2013-02-04 12:18   ` Pavel Shilovsky
2013-02-04 12:11 ` Alexey Shabalin
2013-02-04 12:29   ` Pavel Shilovsky
2013-02-04 12:35     ` Alexey Shabalin
2013-02-05  0:14       ` Dmitry V. Levin
2013-02-05 10:40         ` Pavel Shilovsky
2013-02-05 11:40           ` Sergei Epiphanov
2013-02-05 11:50             ` Pavel Shilovsky
2013-02-06  6:20           ` Pavel Shilovsky [this message]
2013-02-06 16:44         ` Alexey Shabalin
2013-02-06 22:48           ` Dmitry V. Levin
2013-02-07  9:01             ` Pavel Shilovsky
2013-02-07 10:52             ` Alexey Shabalin

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=CAKywueSk1nHfGuQ6HXEy0-pCTHjVnEjjTnD7RJr4hxp6qc9v+g@mail.gmail.com \
    --to=piastry@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