ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Re: скрипты
Date: Fri, 21 Feb 2003 01:41:54 +0300
Message-ID: <20030220224154.GD4924@basalt.office.altlinux.org> (raw)
In-Reply-To: <20030220223932.GS75596@osdn.org.ua>

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

On Fri, Feb 21, 2003 at 12:39:32AM +0200, Michael Shigorin wrote:
> > inn :
> > leafnode :
> > wwebalizer :
> >  preinstall scriptlet (through /bin/sh): /usr/sbin/groupadd -r -f webalizer 2>/dev/null ||: /usr/sbin
> >  /useradd -g webalizer -G apache -c 'The Webalizer' \ -d /var/lib/webalizer -s /dev/null -r webalizer
> >   2>/dev/null || : postinstall scriptlet (through /bin/sh): # get hostname to webalizer.conf W_HOST=`
> >   hostname` [ $? = 0 ] || W_HOST=localhost W_TMP=`mktemp -q webalizer.conf-XXXXXXXXXX` [ $? = 0 ] && s
> >   ed -e "s,__HOST__,$W_HOST,g" < /etc/webalizer.conf > $W_TMP && \ mv $W_TMP /etc/webalizer.conf && ch
> >   mod 644 /etc/webalizer.conf postuninstall scriptlet (through /bin/sh): /usr/sbin/userdel -r webalize
> >   r 2>/dev/null ||
> > Зачем свой собственный конфиг править?
> 
> Затем, что в дистрибутиве на сейчас отсутствует инфраструктура
> (макрос), позволяющая спрятать от incominger такие ужасные и
> кочующие (у меня, уже) из спека в спек штуки, которые, однако,
> удобны.
> 
> Если у нас заведется нечто вроде /etc/mailhost, etc/webhost (т.е.
> эквивалентное по смыслу) и парсер конфига умеет вызывать кого-то
> еще -- можно поменяться на `/bin/cat /etc/mailhost`, как у белых
> людей.

Почему не localhost или localhost.localdomain?


--
ldv

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

  reply	other threads:[~2003-02-20 22:41 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20 12:57 [devel] скрипты Stanislav Ievlev
2003-02-20 14:08 ` [devel] скрипты (LinPopUp) Grigory Batalov
2003-02-20 14:36 ` [devel] скрипты Alexander Bokovoy
2003-02-20 17:21 ` Alexey Voinov
2003-02-20 21:59 ` Andrey Orlov
2003-02-20 22:02   ` Dmitry V. Levin
2003-02-20 22:41     ` Andrey Orlov
2003-02-20 22:39       ` Dmitry V. Levin
2003-02-20 23:02         ` Andrey Orlov
2003-02-21  9:06       ` rider
2003-02-20 22:11 ` [devel] Re: скрипты (GNOME) Mikhail Zabaluev
2003-02-21  8:07   ` Stanislav Ievlev
2003-02-21 15:04     ` Mikhail Zabaluev
2003-02-25  8:30       ` Stanislav Ievlev
2003-02-20 22:39 ` [devel] Re: скрипты Michael Shigorin
2003-02-20 22:41   ` Dmitry V. Levin [this message]
2003-02-21  0:18     ` Michael Shigorin
2003-02-21  8:11   ` Stanislav Ievlev
2003-02-21 11:07     ` Michael Shigorin
2003-02-20 23:16 ` Mikhail Zabaluev
2003-02-28 19:24 ` [devel] скрипты Вячеслав Диконов

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=20030220224154.GD4924@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@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 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