ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Денис Смирнов" <mithraen@freesource.info>
To: community@altlinux.ru
Subject: [Comm] Re: Вход на сервер с 8 до 17
Date: Sat, 29 May 2004 12:01:55 +0400
Message-ID: <20040529080155.GA1783@dhcppc0> (raw)
In-Reply-To: <200405281241.17338.yura@kr.spfu.gov.ua>

On Fri, May 28, 2004 at 12:41:17PM +0300, Yuri N. Yaschenko wrote:
 YNY> Жестоко. Я бы сделал каждую минуту проверку /var/run/smbd.pid. Для этого 
 YNY> потребуется 2 строки, что-то типа
 YNY> [ -f /var/run/smbd.pid ] && <path>/service smb stop
 YNY> [ -f /var/run/smbd.pid ] || <path>/service smb start
 YNY> Определиться по вкусу (с промежутками времени и условиями).
 YNY> Тогда в неположенное время самба максимум минуту работать будет.

Маньяки. Делается одна проверка времени при старте, и плюс к ней
добавляется задание из cron'а. Делать их надо с некоторым перехлёстом,
дабы не получилось проблем из-за того, что загрузка процесс отнюдь не
мгновенный.

-- 
С уважением, Денис

http://freesource.info



      reply	other threads:[~2004-05-29  8:01 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-27 10:38 [Comm] " Дворников Михаил
2004-05-27 10:42 ` Stanislav Yadykin
2004-05-27 10:48 ` Denis S. Filimonov
2004-05-27 10:53 ` Alexander Bokovoy
2004-05-28  4:48 ` Mike Lykov
2004-05-28  5:04   ` Дворников Михаил
2004-05-28  5:21     ` Yura Kalinichenko
2004-05-28  6:39       ` Дворников Михаил
2004-05-28  8:05         ` Maxim Tyurin
2004-05-28  8:50           ` Re[2]: " Ivanov Maxim
2004-05-28  8:57           ` Gennadiy Redko
2004-05-28  9:51             ` Yura Kalinichenko
2004-05-28  9:55             ` [Comm] " Michael Shigorin
2004-05-28  9:46           ` [Comm] " Yura Kalinichenko
2004-05-28  5:32     ` Igo
2004-05-28  5:36       ` Denis S. Filimonov
2004-05-28  6:03         ` Anton
2004-05-28  6:46           ` Дворников Михаил
2004-05-28  9:41             ` Yuri N. Yaschenko
2004-05-29  8:01               ` Денис Смирнов [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=20040529080155.GA1783@dhcppc0 \
    --to=mithraen@freesource.info \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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