ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] nut - Can't chdir to /var/lib/nut
Date: Sun, 9 Jul 2006 19:24:36 +0400
Message-ID: <20060709152436.GD14836@procyon.home> (raw)
In-Reply-To: <200607081509.56600.skompan@kspu.kr.ua>

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

On Sat, Jul 08, 2006 at 03:09:56PM +0300, Serge wrote:
> Теперь очередная проблемма: при работе UPS от батарей не хочет делать shutdown 
> сервер (хотя upsmon -c fsd выполняется прекрасно).

А разряда батарей до состояния, когда UPS выдаёт сигнал "low battery",
дождались?  Сам по себе upsmon вызывает shutdown только после
достижения этого состояния; если нужно что-то более сложное (например,
работать не более N минут на батареях), надо настраивать вызов
upssched из upsmon.

> cat /etc/nut/upsmon.conf |grep /etc/killpower
> POWERDOWNFLAG /etc/killpower
> 
> его у меня нет в каталоге /etc. Этот файл нужно самому создавать?

Нет - этот файл upsmon создаёт, когда запускает shutdown (а потом
скрипты, выполняемые при shutdown, при обнаружении этого файла
передают UPS команду выключения).

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

      reply	other threads:[~2006-07-09 15:24 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-03 16:01 Serge
2006-07-04  6:36 ` Epiphanov Sergei
2006-07-04  7:33   ` Serge
2006-07-04  8:02     ` Dmitriy L. Kruglikov
2006-07-04  8:14     ` Andrei Bulava
2006-07-05 15:02       ` Serge
2006-07-06  7:12         ` Epiphanov Sergei
2006-07-05  7:59 ` Dmitry V. Levin
2006-07-08 12:09   ` Serge
2006-07-09 15:24     ` Sergey Vlasov [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=20060709152436.GD14836@procyon.home \
    --to=vsu@altlinux.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