logoalt Hacker News

marginalia_nutoday at 12:41 PM3 repliesview on HN

What I'd like is systemd-compose. Maintaining several dozens of .service-files is not my idea of fun.


Replies

ctippetttoday at 12:43 PM

It's not quite what you suggested, but you can use podman with systemd.

https://docs.podman.io/en/latest/markdown/podman-systemd.uni...

trey-jonestoday at 12:45 PM

Or more simply just wrap some orchestrator in a single service file. Could just be a bash script used for ExecStart.

faangguyindiatoday at 12:52 PM

i don't have dozens of services. My complex SaaS has total 6 services and each one is running on its own server.

Service file lives in the mono repo where all 6 services live.

Makes it trivial to make changes and redeploy.

show 1 reply