Add CentOS-7 compatibility.
Update systemd target to look out for postgresql instead of mysql.