Before anything, please note that I have found several similar questions on Stack Overflow and articles all over the web, but none of those helped me fix my issue:
If you want to restart Postgresql on Linux, then you have to use the following command.
/etc/init.d/postgresql restart