Wed, 25 Nov 2009 16:10:28 +0300 Alexey Pechnikov <pechni...@mobigroup.ru> wrote:
> Hello! > > On Wednesday 25 November 2009 16:03:19 Konstantin Matyukhin wrote: > > > Параметр, отвечающий за запуск сервиса, не везде есть и > > > называется по-разному. > > Так как стандартным способом отключения сервисов в debian является > > apt-get remove, > > а некоторые пакеты содержат помимо демонов еще и какие-то полезные > > программы, то иногда полезно иметь подобный параметр в /etc/default. > > Покажите в полиси, где был бы предложет такой способ как штатный. Ты вообще на полиси-то смотрел? http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit Often there are some variables in the init.d scripts whose values control the behavior of the scripts, and which a system administrator is likely to want to change. As the scripts themselves are frequently conffiles, modifying them requires that the administrator merge in their changes each time the package is upgraded and the conffile changes. To ease the burden on the system administrator, such configurable values should not be placed directly in the script. Instead, they should be placed in a file in /etc/default, which typically will have the same base name as the init.d script. This extra file should be sourced by the script when the script runs. It must contain only variable settings and comments in SUSv3 sh format. It may either be a conffile or a configuration file maintained by the package maintainer scripts. See Configuration files, Section 10.7 for more details. -- Best regards, Alexander GQ Gerasiov Contacts: e-mail: g...@cs.msu.su Jabber: g...@jabber.ru Homepage: http://gq.net.ru ICQ: 7272757 PGP fingerprint: 04B5 9D90 DF7C C2AB CD49 BAEA CA87 E9E8 2AAC 33F1 -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org