Upgrade with custom systemd unit

Running Plex on CentOS 7. Due to filesystem size constraints, I’ve relocated the app data to another directory by editing the systemd unit and changing the value of PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR (instructions from support in link below).

Now I’ve just enabled the yum repo and updated but saw a warning logged about renaming the unit file. Then after restarting the service, the server was like a new install with no libraries. Found that my customization of the unit was in the renamed file so I restored that and my server was fixed.

Is there a way to update via yum or any other method to avoid losing the systemd unit customization? Otherwise, is there another way to change the application directory without editing the unit?

Oh. Where did you find this old document? I will talk to the team so that it will be immediately removed. The correct one is here:

Thank you, exactly what I was looking for!