There’s already an existing suggestion asking for an automatic process to re-open the Plex Media Sever after a crash / stop. I suggest you vote/comment in that existing thread to avoid distracting/dispersing votes (which will happen with duplicate suggestions).
There’s also a suggestion to allow for a user defined crash script.
Though both of them have gained little attention / roused little interest from other users.