mkimage-profiles/features.in/services
Michael Shigorin f5fd77640a services: pass service status to installer
This is long overdue: services feature influences live
and rescue but doesn't do anything to the installed system
as that's behind the installation barrier; some piggybacking
required to do that has been merged into installer back in
2012 apparently (thanks to boyarsh@ for both doing that and
bringing my attention to this fact; it's 65-setup-services.sh
as of today).

So the only thing missing has been the bridge to prepare
those files -- still some more tweakery is required given the
two-stage process arranged so that reusable configuration could
include some sane defaults but the release manager is ultimately
able to override anything without extra kludges; thank legion@
for his wonderful libshell either.

NB: install2 script is a partial clone of rootfs one since
processing the variables is identical; still rootfs script
has to change service state directly while install2 one
has to deposit the information for installer to handle.
2014-02-09 02:38:16 +04:00
..
install2/image-scripts.d services: pass service status to installer 2014-02-09 02:38:16 +04:00
rootfs/image-scripts.d initial rootfs subprofile and services feature 2013-06-17 14:03:53 +04:00
config.mk vm-ssh: renamed to net-ssh and cleaned up 2013-08-12 20:53:01 +04:00
README services: update README 2013-07-15 21:20:59 +04:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Данная фича конфигурирует автоматический запуск сервисов
при загрузке системы.

Поскольку в конкретном образе может быть желательно перекрыть
умолчания предыдущей конфигурации, рекомендуется в фичах работать
с переменными DEFAULT_SERVICES_* и оставить переменные SERVICES_*
для релиз-менеджеров.

Выключение сервиса в каждой из этих пар имеет приоритет перед
включением.

Внимание: фича опирается на субпрофиль rootfs, он должен быть
задействован в каком-либо качестве, чтобы ожидаемое произошло.
На данный момент действие rootfs не распространяется на системы,
устанавливаемые при помощи install2.