|
|
|
|
|
by Arch-TK
1865 days ago
|
|
> - no shell scripts for service configurations Other than "sysvinit based init had horrific shell scripts with 100 lines of repeated nonsense", given that almost every alternative to systemd which still uses shell scripts needs around 2 lines of shell per service (including the shebang) what exactly is the issue with shell scripts (if all they do is run a wrapper which sets up the environment of a program or the program itself)? > - no forking services When I used archlinux these were extremely common and I used archlinux as recently as last year. > - logging and service management is tightly coupled (this is arguably good with some bad parts, required CPU for logging with systemd is not great) So runit handles spawning a log daemon before the service is started to ensure all log entries are kept and comes with a really simple yet extremely powerful log daemon (but obviously you can use almost anything else including cat if you want). It manages to integrate logging tightly into service supervision while being maximally flexible and decoupled. What do you think about this? |
|
If there is only one thing that I could keep from systemd, it would be the use of unit files instead of shell scripts.
The rest is your observations, nothing to disagree or agree with.