diff options
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/init-manager.rst | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/documentation/dev-manual/init-manager.rst b/documentation/dev-manual/init-manager.rst index 0617fed516..10c4754e62 100644 --- a/documentation/dev-manual/init-manager.rst +++ b/documentation/dev-manual/init-manager.rst | |||
@@ -38,26 +38,14 @@ following sections. | |||
38 | Using systemd Exclusively | 38 | Using systemd Exclusively |
39 | ========================= | 39 | ========================= |
40 | 40 | ||
41 | Set these variables in your distribution configuration file as follows:: | 41 | Set the :term:`INIT_MANAGER` variable in your distribution configuration |
42 | 42 | file as follows:: | |
43 | DISTRO_FEATURES:append = " systemd" | ||
44 | VIRTUAL-RUNTIME_init_manager = "systemd" | ||
45 | |||
46 | You can also prevent the SysVinit distribution feature from | ||
47 | being automatically enabled as follows:: | ||
48 | |||
49 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit" | ||
50 | |||
51 | Doing so removes any | ||
52 | redundant SysVinit scripts. | ||
53 | |||
54 | To remove initscripts from your image altogether, set this variable | ||
55 | also:: | ||
56 | 43 | ||
57 | VIRTUAL-RUNTIME_initscripts = "" | 44 | INIT_MANAGER = "systemd" |
58 | 45 | ||
59 | For information on the backfill variable, see | 46 | This will enable systemd and remove sysvinit components from the image. |
60 | :term:`DISTRO_FEATURES_BACKFILL_CONSIDERED`. | 47 | See ``meta/conf/distro/include/init-manager-systemd.inc`` for exact |
48 | details on what this does. | ||
61 | 49 | ||
62 | Using systemd for the Main Image and Using SysVinit for the Rescue Image | 50 | Using systemd for the Main Image and Using SysVinit for the Rescue Image |
63 | ======================================================================== | 51 | ======================================================================== |