Why does Postgresql Data directory revert to default after updates/reboots?
After looking up some more details. It seems that the better options is create an override file in /etc/systemd .
Though, I cannot vouch for if this is best practice, I believe that it is a better option since I do not have to edit the default file.
dir=/etc/systemd/system/postgresql-11.service.d
if [ ! -d $dir ]
then
    mkdir $dir
    chmod 755 $dir
fi
cd $dir
touch override.conf
echo '[Service]' &gt;&gt; override.conf
echo 'Environment=PGDATA=/usr/local/pgsql/data' &gt;&gt; override.conf
systemctl daemon-reload
systemctl restart postgresql-11

I know normally this is done via systemctl edit, but from what i can tell, this does the same thing, just without using systemctl. This DID work and it allowed postgres to work even though the data directory in /usr/lib/systemd/system/postgresql-11.service does not have a working data directory in it. If someone has a better answer, I can gladly accept that though.
I arrived at this solution based off
https://pgstef.github.io/2018/02/28/custom_pgdata_with_systemd.html