ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Artem <u2u@nm.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] создание демона, перенаправление stderr и initlog
Date: Mon, 21 Nov 2005 09:41:02 +0200
Message-ID: <43817A0E.2040200@nm.ru> (raw)
In-Reply-To: <43817827.3060308@nm.ru>

Artem wrote:
> Dmitry V. Levin wrote:
> 
>> On Mon, Nov 21, 2005 at 02:03:43AM +0200, Artem wrote:
>>
> Набросал для проверки (см аттач - init-скрипт и исходник). При запуске 
> через service .... start c любым параметром - включается вывод каждую 
> микросекунду в stdout и stderr. Практически сразу и умирает - почему?. 
> Без вывода - все ок (висит в памяти).
> 
Вот, в подтверждение.

[root@localhost init.d]# service test_initlog start; ps aux | grep test
Starting test_initlog service: 
[ DONE ]
root      8059  0.0  0.0   1224   244 ?        Rs   09:38   0:00 
/usr/sbin/test_initlog --out
root      8068  0.0  0.1   1424   444 pts/4    R+   09:38   0:00 grep test
[root@localhost init.d]# ps aux | grep test
root      8072  0.0  0.1   1420   444 pts/4    R+   09:38   0:00 grep test


Rgds, Artem.


      reply	other threads:[~2005-11-21  7:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-20 20:31 Artem
2005-11-20 22:52 ` Dmitry V. Levin
2005-11-21  0:03   ` Artem
2005-11-21  0:40     ` Dmitry V. Levin
2005-11-21  7:32       ` Artem
2005-11-21  7:41         ` Artem [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=43817A0E.2040200@nm.ru \
    --to=u2u@nm.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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