Replacing rc.local in systemd Linux systems
Missing rc.local for adding commands to run on startup?
The rc.local file was—and in some cases still is—the place for Linux sysadmins to put commands that need to be run at startup. Use of the rc.local file is not only deprecated but after a couple of hours worth of attempts, was not working in any event. This despite the fact that the systemd documentation mentions the use of a “generator” that generates systemd services from an rc.local file if one exists.
Here’s how to set up similar functionality with today’s systemd.
An introduction to the Linux boot and startup processes with GPT and GRUB2
Ever wondered what it takes to get your system ready to run applications? Here’s what is going on under the hood.
systemd — #12: Fixing systemd-resolved name service failures using Ansible
Name resolution and the ever-changing networking landscape.
systemd — #11: Managing resources with cgroups in systemd
Cgroups manage resources per application rather than by the individual processes that make up an application.
systemd — #9: Using systemd journals to troubleshoot transient problems
Find the root cause of hard-to-track errors by diving into your systemd journals.
systemd — #8: Analyzing systemd calendar and timespans
Learn how systemd uses calendar time, timestamps, and timespans to control when things happen.
systemd — #7: Use systemd timers instead of cronjobs
systemd timers provide a more fine-grained control of events than cronjobs and offer more scheduling possibilities.
systemd — #6: Control your computer time and date with systemd
Keep your computer time in sync with NTP, Chrony, and systemd-timesyncd.
systemd — #5: How I manage startup using systemd
systemd starts as many services as possible in parallel during the Linux startup sequence. Learn how to create a new systemd service and how to determine the order in which services start within that parallelism.
systemd — #4: How to use systemd as a troubleshooting tool
systemd is powerful troubleshooting tool. The information we can extract from it points the way toward solving problems.
systemd — #3: Using the systemctl command to manage systemd units
Units are the basis of everything in systemd so we’ll explore them in more detail and use the systemctl command to investigate and manage units.
systemd — #2: Understanding Linux startup with systemd
systemd’s startup provides important clues to help you solve problems when they occur.
systemd — #1: Learning to love systemd
systemd is the mother of all processes, responsible for bringing the Linux host up to a state where productive work can be done.
Linux Boot and Startup
Understanding the boot and Linux startup processes is important to being able to both configure Linux and to resolving startup issues.