Hi Domen,
On 05/06/2019 14:46, Domen Šetar wrote:
> Systemctl shows that database is dead, but it is actually running.
>
> Can someone explain this behavioure?
As others pointed out - this is due to bypassing of systemd altogether
in order to start the database proces. If you check the configuration of
the service under /usr/lib/systemd/system/postgresql-10.service you can
inspect further how this work (exactly what type of notification is used).
More on the types of services and the way they notify systemd can be
found here:
https://www.freedesktop.org/software/systemd/man/systemd.service.html
Cheers!
Jakub