Feb 27, 2025 12:54 PM
Updated my Yunohost deployment of my blog today to include a systemd.service file that runs hugo server
with some options to automatically rebuild my site.
Previously I was manually building each time I made a change. This worked fine but seemed like an unnecessary step. I also was missing out on a really nice feature of Yunohost which monitors the status of the service defined as well as the logs for that service. So now I get the convenience of automatic builds as well as some monitoring.
I can still keep in-progress posts from publishing using the draft
flag in frontmatter which I have set as the default. I’ll try this out for a while and if anything bad happens it’s easy to revert back to manually building the static files.