ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Morsov <samurai@ricom.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] start process if there no it's copy
Date: Tue, 17 Jan 2006 12:46:24 +0300
Message-ID: <20060117094624.GB16384@ricom.ru> (raw)
In-Reply-To: <200601161617.23141.yura@emict.com>

[-- Attachment #1: Type: text/plain, Size: 721 bytes --]

On Mon, Jan 16, 2006 at 04:17:22PM +0200, Yuriy Kashirin wrote:
> On Monday 16 January 2006 15:42, Alexey Morsov wrote:
> Но я бы делал по другому:
> - id=`pgrep -U morsov ivman`
> - if [ '$id' -eq '0' ]
> + if pgrep -U morsov ivman
> 
> (pgrep вернет ошибку если указанных процессов не найдет)

Большое спасибо. Во - век живы век учись :)

-- 

С уважением,
Алексей Морсов
системный администратор ЗАО "ИК "Риком-Траст"

ICQ: 196-766-290
Jabber: samurai@www.fondmarket.ru
www.ricom.ru
www.fondmarket.ru

NP: Music is over :(

> Во как! Дистрибутива еще нет, а обновления уже есть :)
А вдруг кто-то бета-версию установил или просто обновился до ALM2.4 с
помощью apt-get?
		-- ldv in community@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 481 bytes --]

  reply	other threads:[~2006-01-17  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-16 13:42 Alexey Morsov
2006-01-16 14:02 ` Nick S. Grechukh
2006-01-16 14:55   ` Yuriy Kashirin
2006-01-16 14:17 ` Yuriy Kashirin
2006-01-17  9:46   ` Alexey Morsov [this message]
2006-01-17  7:26 ` Epiphanov Sergei

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=20060117094624.GB16384@ricom.ru \
    --to=samurai@ricom.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