Free course
systemd Course
Learn to run Linux server applications with systemd units, dependencies, restart policies, timers, resource limits, logs, and safe deployments.
Prerequisites: Shell Commands and Linux Basics
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it. Join my free newsletter and you get this course plus every other book and course I published.
Download this course as PDF or EPUB
Read it offline, on your Kindle, or print it.
Your progress
of lessons completed.
Course completed.
What you'll learn
Create, harden, operate, and troubleshoot a systemd service and timer for a server application.
Course contents
Units and state
Understand the manager, unit files, load state, active state, enablement, and dependencies.
Build a service
Run an application with a dedicated account, explicit environment, and predictable lifecycle.
Reliability and resources
Control restarts, startup order, timeouts, resources, and failure behavior.
Timers and operations
Replace fragile cron jobs, deploy safely, reload configuration, and inspect execution.
Security and troubleshooting
Reduce privileges, analyze units, read the journal, and diagnose failed services.