systemd-screenshot

Linux: Service Management with systemd

Checking Service Status In Detail The systemctl status command provides detailed information about a service, including it’s current state (active, inactive, failed), recent log entries, and reasons for failure if the service is not running. Example Command: sudo systemctl status apache2 #or httpd service sudo systemctl status httpd Output: iamyaash@pi5:~ $ sudo systemctl status firewalld.service ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/lib/systemd/system/firewalld.service; enabled; preset: enabled) Active: active (running) since Sun 2025-06-29 20:30:48 IST; 1s ago Docs: man:firewalld(1) Main PID: 7956 (firewalld) Tasks: 2 (limit: 9585) CPU: 279ms CGroup: /system.slice/firewalld.service └─7956 /usr/bin/python3 /usr/sbin/firewalld --nofork --nopid Jun 29 20:30:48 pi5 systemd[1]: Starting firewalld.service - firewalld - dynamic firewall daemon... Jun 29 20:30:48 pi5 systemd[1]: Started firewalld.service - firewalld - dynamic firewall daemon. The output includes: ...

June 29, 2025 · 3 min · Yashwanth Rathakrishnan
systemd-screenshot

Linux: Task Scheduling with systemd Timers

Practical guide to systemd timers, covering the differences from cron, the structure of timer files, key directives, and hands-on exercises.

June 29, 2025 · 3 min · Yashwanth Rathakrishnan
systemd-screenshot

Linux: Creating and Customizing systemd Units

Important directives: ExecStart, ExecStop, Restart policies; Dependencies and ordering: Requires, Wants, Before, After; Writing your own service units with examples; Overriding units using drop-in configurations (systemctl edit)

June 29, 2025 · 4 min · Yashwanth Rathakrishnan
systemd-screenshot

Linux: Systemd And Service Management

What is systemd and how it works? What are units, services, targets in systemd? Essential commands like systemctl & journalctl, and creating & managing custom services.

June 21, 2025 · 5 min · Yashwanth Rathakrishnan