ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Юрий Хорошков" <hyuv@svitonline.com>
To: community@altlinux.ru
Subject: Re: [Comm] Starting fetchmail from rc.local
Date: Wed, 25 Dec 2002 08:46:04 +0000
Message-ID: <20021225084604.77efd85e.hyuv@svitonline.com> (raw)
In-Reply-To: <1040679818.3187.28.camel@golovin.home>

Здравствуйте Community!
> > 
> > > On Sun, Dec 22, 2002 at 06:31:32PM +0300, Sergey Kuznetsov
> > > wrote:
> > > > Решил я тут запускать fetchmail daemon не из
> > > > ~/.kde/Autostart, а из rc.local. Вот этот файл и права на
> > > > него:
> > > 
> > > Никогда не запускайте fetchmail от рута.
> > > Поставьте пакет fetchmail-daemon.
> > 
> > Стоит fetchmail-daemon-6.2.0-alt2. Беда в том, что при запуске
> > его как сервиса из init 5, программа некорректно завершает
> > работу, забывая удалить ~/.fetchmail.pid. Соответственно, при
> Попробуйте в функции start в файле /etc/init.d/fetchmail после строки
> 
> 	[ -n "$HOME_DIRECTORY" ] || continue
> 
> добавить 
> 
> 	rm -f "$HOME_DIRECTORY/.fetchmail.pid"
> 
> Будет удалять перед запуском.
> 
У меня была такая же проблема для dial-up. Попробовал использовать кррр
для старт/стоп fetchmail как сервиса при подключении/отключении от
Инета:
service fetchmail start
service fetchmail stop.
Всё заработало корректно и без сбоев. Может это и не "кошерно", но
работает : ) .
С уважением,
Юрий.


  parent reply	other threads:[~2002-12-25  8:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-22 15:31 Sergey Kuznetsov
2002-12-22 18:03 ` Dmitry V. Levin
2002-12-22 18:34   ` Sergey Kuznetsov
2002-12-23 21:43     ` Andrey Golovin
2002-12-24 12:26       ` Sergey Kuznetsov
2002-12-25  8:46       ` Юрий Хорошков [this message]
2002-12-24 12:21         ` Sergey Kuznetsov

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=20021225084604.77efd85e.hyuv@svitonline.com \
    --to=hyuv@svitonline.com \
    --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