May 2019
Intermediate to advanced
600 pages
20h 46m
English
It's now become a habit in many recipes in this chapter that they be presented in two forms: one with systemd and one without. This may look repetitive or boring, but it's unavoidable because the introduction of a new system does not automatically eliminate all existing alternatives, or migrate old installations to new ones.
Like before, the you can find further systemd details, including details on service unit names, in the previous recipe, Starting the database server manually, of this chapter.
A PostgreSQL server managed by systemd can be restarted in fast mode by issuing the following command:
sudo systemctl restart SERVICEUNIT
As before, change SERVICEUNIT to the appropriate service unit name—for example, postgresql@11-main ...
Read now
Unlock full access