Use systemctl command to manage postgresql service:

systemctl stop postgresql
systemctl start postgresql
systemctl status postgresql
systemctl disable postgresql
systemctl enable postgresql