Remix.run Logo
MortyWaves 3 days 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?

broeng 3 days ago | parent [-]

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

MortyWaves 3 days ago | parent [-]

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.