On each platform there is a specific command to start the server.
If you are using a modern Linux distribution, you are probably using systemd. In this case, PostgreSQL can be started with the following command:
systemctl start SERVICEUNIT
This must be issued with OS superuser privileges, after replacing SERVICEUNIT with the appropriate systemd service unit name.
There are a couple of things to keep in mind:
- This will work only if the user executing the command has been previously granted appropriate sudo privileges by the system administrator
- If the command ...