Systemd by Example (2021)
seb.jambor.dev
Systemd by Example (2021)
1–10 of 115 posts
Re: Systemd by Example (2021)
#2Re: Systemd by Example (2021)
#3Systemd by Example - https://news.ycombinator.com/item?id=36817510 - July 2023 (11 comments)
Systemd by Example - https://news.ycombinator.com/item?id=30071240 - Jan 2022 (69 comments)
Systemd by Example – The Playground - https://news.ycombinator.com/item?id=30070159 - Jan 2022 (1 comment)
Re: Systemd by Example (2021)
#4This doc format works best for me ... just enough to get you started and get results. Digging deeper can be done where required. More like this!
https://seb.jambor.dev/posts/systemd-by-example-part-2-depen...
https://seb.jambor.dev/posts/systemd-by-example-part-3-defin...
https://seb.jambor.dev/posts/systemd-by-example-part-4-insta...
Re: Systemd by Example (2021)
#5Re: Systemd by Example (2021)
#6The thing that got me into it was systemd timers. I really like being able to split up what should run from when should it run. `cron` works best if you desire simplicity above all else, and Slack used `cron` for a very long time before moving to something more custom. But I ultimately don't feel like the learning curve for systemd timers is that bad, and the benefits it can bring (like writing all your echo statements to journalctl instead of some random hard coded logfile in a script) feel very worth it to me.
Re: Systemd by Example (2021)
#7Systemd is a pretty neat little thing. It's what keeps me running Ubuntu and Debian servers instead of switching to Alpine, at least in those situations where I can't containerize what I want to do. The thing that got me into it was systemd timers. I really like being able to split up what should run from when should it run. `cron` works best if you desire simplicity above all else, and Slack used `cron` for a very l…
It may be simple, but it's config file is hard to comprehend compared to a systemd timer. Being able to just use "Friday 17:00" or "hourly" is so much more readable.
Re: Systemd by Example (2021)
#8Systemd is a pretty neat little thing. It's what keeps me running Ubuntu and Debian servers instead of switching to Alpine, at least in those situations where I can't containerize what I want to do. The thing that got me into it was systemd timers. I really like being able to split up what should run from when should it run. `cron` works best if you desire simplicity above all else, and Slack used `cron` for a very l…
>`cron` works best if you desire simplicity above all else It may be simple, but it's config file is hard to comprehend compared to a systemd timer. Being able to just use "Friday 17:00" or "hourly" is so much more readable.
Re: Systemd by Example (2021)
#9https://www.freedesktop.org/software/systemd/man/latest/syst...
Re: Systemd by Example (2021)
#10PartOf= let us still have one top level “lithium” service to start and stop which starts and stops all of the other services, while being able to use journalctl to view them as one log file via a wildcard!
Super nice, it’s been quite lovely.