← Back to context

Comment by MortyWaves

5 hours ago

The thing I don’t like about systemd is the inexplicable need to have multiple files for a service. Why can’t they all be declared in a single unit file?

What do you mean? They can be in a single service file.

  • All the examples I see is there’s a network unit file, a cron unit file, etc all for one application. It would be nice to colocate.

    Then there is composition of multiple applications too.

    With docker compose I have a single file for running all my services.

    With systemd it has to be N number of files for each service too.