cjmurph / PmsService

Plex Media Server service wrapper for windows
MIT License
504 stars 57 forks source link

PmsMonitor: Launch PMS with noautorestart param #89

Open chrisdecker08 opened 1 week ago

chrisdecker08 commented 1 week ago

Starting with version 1.40.5 PMS supports the noautorestart command line param. While it is 99.99% safe to kill PMS during maintenance tasks, there is a very small chance of database corruption and we'd rather be safe than sorry. This new param will prevent PMS from starting itself after an auto update, instead allowing PMSService to start it. This parameter is a no op in previous versions of PMS which eliminates the need for a version gate.