]> git.ipfire.org Git - thirdparty/systemd.git/blame - man/systemd-rc-local-generator.xml
journalctl: reshuffle console message about fss keys
[thirdparty/systemd.git] / man / systemd-rc-local-generator.xml
CommitLineData
245992a0
LP
1<?xml version="1.0"?>
2<!--*-nxml-*-->
3a54a157
ZJS
3<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
4 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
0307f791 5<!-- SPDX-License-Identifier: LGPL-2.1+ -->
245992a0
LP
6<refentry id="systemd-rc-local-generator">
7
8 <refentryinfo>
9 <title>systemd-rc-local-generator</title>
10 <productname>systemd</productname>
245992a0
LP
11 </refentryinfo>
12
13 <refmeta>
14 <refentrytitle>systemd-rc-local-generator</refentrytitle>
15 <manvolnum>8</manvolnum>
16 </refmeta>
17
18 <refnamediv>
19 <refname>systemd-rc-local-generator</refname>
44508946 20 <refpurpose>Compatibility generator for starting <filename>/etc/rc.local</filename> during boot</refpurpose>
245992a0
LP
21 </refnamediv>
22
23 <refsynopsisdiv>
24 <para><filename>/usr/lib/systemd/system-generators/systemd-rc-local-generator</filename></para>
25 </refsynopsisdiv>
26
27 <refsect1>
28 <title>Description</title>
29
30 <para><filename>systemd-rc-local-generator</filename> is a generator that checks whether
31 <filename>/etc/rc.local</filename> exists and is executable, and if it is pulls the
32 <filename>rc-local.service</filename> unit into the boot process. This unit is responsible for running this script
33 during late boot. Note that the script will be run with slightly different semantics than the original System V
34 version, which was run "last" in the boot process, which is a concept that does not translate to systemd. The
35 script is run after <filename>network.target</filename>, but in parallel with most other regular system
36 services.</para>
37
44508946 38 <para>Support for <filename>/etc/rc.local</filename> is provided
245992a0 39 for compatibility with specific System V systems only. However, it is strongly recommended to avoid making use of
44508946
MB
40 this script today, and instead provide proper unit files with appropriate dependencies for any scripts to run
41 during the boot process.</para>
245992a0
LP
42
43 <para><filename>systemd-rc-local-generator</filename> implements
44 <citerefentry><refentrytitle>systemd.generator</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
45 </refsect1>
46
47 <refsect1>
48 <title>See Also</title>
49 <para>
50 <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
51 <citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>1</manvolnum></citerefentry>
52 </para>
53 </refsect1>
54
55</refentry>