← Week 7 - systemd and journald
Week 7 - systemd and journald: notes¶
Status: Not started
Exercise 1¶
Enable systemd in WSL (/etc/wsl.conf). Learn systemctl status/start/stop/enable and journalctl -u -f.
Commands, results, what surprised me.
Exercise 2¶
Write a unit file for a small .NET console or worker app: Restart=, User=, EnvironmentFile=.
Commands, results, what surprised me.
Exercise 3¶
Replace a cron job with a systemd timer; compare both.
Commands, results, what surprised me.
Exercise 4¶
Read journal filters: --since, -p err, -b, and disk usage of the journal.
Commands, results, what surprised me.
Deliverable¶
A working unit and timer pair in your repo, plus a systemd cheat sheet.
Write-up.