Comment by steezeburger

3 days ago

How do you declare the dependencies though? The unit file only covers starting the process.

>How do you declare the dependencies though? The unit file only covers starting the process.

That's not really true anymore. I can understand why you might not be familiar with declaring systemd dependencies as it's a fairly new thing. Don't blink or you might miss it.

Check out the article[0] below, it just came out...in 2015.

[0] https://fedoramagazine.org/systemd-unit-dependencies-and-ord...

  • That's not what I'm talking about. I'm talking about installing the software you need to run whatever service you're declaring you want to run

That's why I tend to prefer services that are single go binaries, for example.

For complex stuff like Immich, I'll use podman. But these days with uv, even managing python services with systemd is fine.