ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <prokopiev@stc.donpac.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] I: sleep vs usleep and stop_daemon timeout
Date: Sun, 09 Sep 2007 13:21:50 +0400
Message-ID: <46E3BB2E.10504@stc.donpac.ru> (raw)
In-Reply-To: <20070901090523.GM22284@osdn.org.ua>

Michael Shigorin пишет:

...

> Кстати.  Может ли иметь смысл подобная отработка существования
> pidfile где-то там?  Вероятно, не по умолчанию, а по отдельному
> ключику.  Для тяжёлых сервисов (как-то perl/python/java-based)
> может пригодиться один вылизанный вариант, а не каждый раз с
> нуля изобретать.
> 
> stop_daemon --pidile "$OLDPIDFILE" --waitpidfile ...

Для меня это больной вопрос, решенный в лоб патчем, приложенным к 
https://bugzilla.altlinux.org/attachment.cgi?id=2163

Но пока никто даже не обматерил :(

-- 
С уважением,
Прокопьев Евгений



      parent reply	other threads:[~2007-09-09  9:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-31 23:21 ` [devel] I: sleep vs usleep (was: [Bug 12655] upgrade() is broken (wrong pidfile handling)) Dmitry V. Levin
2007-09-01  9:05   ` Michael Shigorin
2007-09-02 16:00     ` Slava Semushin
2007-09-03 11:10       ` [devel] [wiki] || vs && (exit code) Michael Shigorin
2007-09-09  9:21     ` Eugene Prokopiev [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=46E3BB2E.10504@stc.donpac.ru \
    --to=prokopiev@stc.donpac.ru \
    --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