When you are trying to start a service in Cent OS 6 environment with above command, you may have noticed that the above command is giving an error,
$ systemctl start postgresql
systemctl: command not found
The reason is quite straightforward, being a part of systemd, systemctl is not available in CentOS 6. The package is available from Cent OS 7 version.
In Cent OS 6 you can use instead,
$ service postgresql start
Please note that the service name and the operation definitions are interchanged when using the service command.
References
- https://en.wikipedia.org/wiki/Systemd
- https://www.linux.com/learn/understanding-and-using-systemd