[CentOS] systemd

Wed Jan 9 20:15:56 UTC 2019
Gordon Messmer <gordon.messmer at gmail.com>

On 1/9/19 9:00 AM, Simon Matter via CentOS wrote:
> Maybe things_could_  be done the right way with systemd, but it doesn't
> happen because it quickly starts to be very complex and it's a lot of work
> to do it for a complete distribution.


If you've looked at the sysv init script for postgresql, you know that 
that statement describes both init systems.

Systems engineering is hard.  It's fashionable to blame systemd, but 
it's not systemd's fault that there's a delay between the point at which 
postgresql forks and the point at which it's available for use.  SysV 
didn't magically solve that problem. Someone had to specifically write a 
delay loop in the init script to make the system work reliably, 
beforehand.  PostgreSQL isn't alone in that.  Other services needed 
their own hacks.  And collectively, "Maybe things _could_ be done the 
right way with SysV, but it doesn't happen because it quickly starts to 
be very complex and it's a lot of work to do it for a complete 
distribution."