- cross-posted to:
- [email protected]
- [email protected]
- cross-posted to:
- [email protected]
- [email protected]
After a few conversations with people on Lemmy and other places it became clear to me that most aren’t aware of what it can do and how much more robust it is compared to the usual “jankiness” we’re used to.
In this article I highlight less known features and give out a few practice examples on how to leverage Systemd to remove tons of redundant packages and processes.
And yes, Systemd does containers. :)
Love me some systemd timers. Much more fun than cron.
EnvironmentFile=
journalctl -f
to watch long-running processes, which I’m not sure whether possible with cron* * * * *
, then forgetting it’s supposed to run in a minute, get distracted, come back in 15 minutesMy only complaint is it’s a bit verbose. I’d rather have it as an option inside the
.service
file. The.timer
requires some boilerplate like[Unit].description
(it… uh… triggers a service. that’s the description), andWantedBy=timers.target
. But these are small prices to pay