Ubuntu Manpage: systemd-rc-local-generator - Compatibility generator for starting /etc/rc.local and /usr/sbin/halt.local By Canonical Archived: 2026-04-05 22:39:25 UTC name synopsis description see also bionic (8) systemd-rc-local-generator.8.gz Provided by: systemd_237-3ubuntu10.57_amd64 NAME systemd-rc-local-generator - Compatibility generator for starting /etc/rc.local and /usr/sbin/ during boot and shutdown SYNOPSIS /lib/systemd/system-generators/systemd-rc-local-generator DESCRIPTION systemd-rc-local-generator is a generator that checks whether /etc/rc.local exists and is exec if it is pulls the rc-local.service unit into the boot process. This unit is responsible for script during late boot. Note that the script will be run with slightly different semantics th original System V version, which was run "last" in the boot process, which is a concept that d translate to systemd. The script is run after network.target, but in parallel with most other system services. systemd-rc-local-generator also checks whether /usr/sbin/halt.local exists and is executable, is pulls the halt-local.service unit into the shutdown process. This unit is responsible for script during later shutdown. http://manpages.ubuntu.com/manpages/bionic/man8/systemd-rc-local-generator.8.html Page 1 of 2 Support for both /etc/rc.local and /usr/sbin/halt.local is provided for compatibility with spe System V systems only. However, it is strongly recommended to avoid making use of these script and instead provide proper unit files with appropriate dependencies for any scripts to run du boot or shutdown processes. systemd-rc-local-generator implements systemd.generator(7). SEE ALSO systemd(1), systemctl(1) systemd 237 SYSTEMD-RC-LOCAL-G Source: http://manpages.ubuntu.com/manpages/bionic/man8/systemd-rc-local-generator.8.html http://manpages.ubuntu.com/manpages/bionic/man8/systemd-rc-local-generator.8.html Page 2 of 2