There’s already an existing feature suggestion discussing an option to run PMS as a daemon / service. I suggest you comment/vote in that thread in order to help us avoid distracting or cannibalizing votes.
I’ll therefore close this thread as a duplicate.