ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Aleksey Avdeev <solo@solin.spb.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] I: apache2, принципы конфигурирования
Date: Thu, 29 Mar 2007 16:25:32 +0400
Message-ID: <460BB03C.4060005@solin.spb.ru> (raw)
In-Reply-To: <m3abxw1vav.fsf@vvk.distance.ru>

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

Vladimir V. Kamarzin пишет:
>>>>>>On 28 Mar 2007 at 19:47 "AA" == Aleksey Avdeev writes:
> 
> 
>  AA>   Варианты включения модуля:
> 
>  AA> 1. Быстрый:
>  AA> $ sudo -H /usr/sbin/a2enmod dir
> 
>  AA> 2. Надёжный:
>  AA> $ sudo -H sh -с 'еcho "dir=yes" >> 900-local.conf'
>  AA> $ sudo -H /usr/sbin/a2chkconfig
> 
> Хотелось бы уточнить, каким именно образом следует производить
> включение/выключение того или иного модуля при установке/удалении какого-нибо
> пакета? Т.е. из %post{un} скриптов.
> 

  Строчкой вида "<модуль>=yes" в файле
conf/mods-start.d/<приоритет>-<имя аддона>.conf, и вызов
/usr/sbin/a2chkconfig из %post{un} скриптов.

PS: Если нужно отключить мешающий модуль -- поступать аналогично.

-- 

С уважением. Алексей.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 548 bytes --]

  reply	other threads:[~2007-03-29 12:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-28 13:47 Aleksey Avdeev
2007-03-29  5:19 ` Vladimir V. Kamarzin
2007-03-29 12:25   ` Aleksey Avdeev [this message]
2007-03-29 14:03     ` Nikolay A. Fetisov
2007-03-29 14:33       ` Nikolay A. Fetisov
2007-03-29 20:04       ` Aleksey Avdeev
2007-03-30  4:05       ` Nikolay A. Fetisov
2007-03-30  6:50         ` Aleksey Avdeev
2007-03-30 21:29           ` Artem Zolochevskiy
2007-03-30 21:56             ` Dmitry V. Levin
2007-03-30 22:06               ` Artem Zolochevskiy
2007-04-02  8:55                 ` Aleksey Avdeev

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=460BB03C.4060005@solin.spb.ru \
    --to=solo@solin.spb.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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