May 2018
Intermediate to advanced
576 pages
30h 25m
English
It's now become a habit for many recipes in this chapter to 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 reader 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 the fast mode by issuing the following command:
sudo systemctl restart SERVICEUNIT
As before, change SERVICEUNIT to the appropriate service unit name, for example, postgresql@10-main ...