At the time stop finish it already counts as inactive which seems wrong.
While the processes still are up I got:
$ systemctl is-active postgresql
inactive
$ systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/lib/systemd/system/postgresql.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Fri 2020-02-07 09:26:45 UTC; 28ms ago
Process: 31910 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 31910 (code=exited, status=0/SUCCESS)
Feb 07 09:26:45 f systemd[1]: Starting PostgreSQL RDBMS...
Feb 07 09:26:45 f systemd[1]: Started PostgreSQL RDBMS.
Feb 07 09:26:45 f systemd[1]: postgresql.service: Succeeded.
Feb 07 09:26:45 f systemd[1]: Stopped PostgreSQL RDBMS
At the time stop finish it already counts as inactive which seems wrong. system/ postgresql. service; enabled; vendor preset: enabled)
While the processes still are up I got:
$ systemctl is-active postgresql
inactive
$ systemctl status postgresql
● postgresql.service - PostgreSQL RDBMS
Loaded: loaded (/lib/systemd/
Active: inactive (dead) since Fri 2020-02-07 09:26:45 UTC; 28ms ago
Process: 31910 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 31910 (code=exited, status=0/SUCCESS)
Feb 07 09:26:45 f systemd[1]: Starting PostgreSQL RDBMS...
Feb 07 09:26:45 f systemd[1]: Started PostgreSQL RDBMS.
Feb 07 09:26:45 f systemd[1]: postgresql.service: Succeeded.
Feb 07 09:26:45 f systemd[1]: Stopped PostgreSQL RDBMS