1SYSTEMD-RC-LOCAL-GENERATOR(s8y)stemd-rc-local-generatSoYrSTEMD-RC-LOCAL-GENERATOR(8)
2
3
4

NAME

6       systemd-rc-local-generator - Compatibility generator for starting
7       /etc/rc.local and /usr/sbin/halt.local during boot and shutdown
8

SYNOPSIS

10       /usr/lib/systemd/system-generators/systemd-rc-local-generator
11

DESCRIPTION

13       systemd-rc-local-generator is a generator that checks whether
14       /etc/rc.local exists and is executable, and if it is pulls the
15       rc-local.service unit into the boot process. This unit is responsible
16       for running this script during late boot. Note that the script will be
17       run with slightly different semantics than the original System V
18       version, which was run "last" in the boot process, which is a concept
19       that does not translate to systemd. The script is run after
20       network.target, but in parallel with most other regular system
21       services.
22
23       systemd-rc-local-generator also checks whether /usr/sbin/halt.local
24       exists and is executable, and if it is pulls the halt-local.service
25       unit into the shutdown process. This unit is responsible for running
26       this script during later shutdown.
27
28       Support for both /etc/rc.local and /usr/sbin/halt.local is provided for
29       compatibility with specific System V systems only. However, it is
30       strongly recommended to avoid making use of these scripts today, and
31       instead provide proper unit files with appropriate dependencies for any
32       scripts to run during the boot or shutdown processes.
33
34       systemd-rc-local-generator implements systemd.generator(7).
35

SEE ALSO

37       systemd(1), systemctl(1)
38
39
40
41systemd 239                                      SYSTEMD-RC-LOCAL-GENERATOR(8)
Impressum