Crossplatform process manager for running node applications with high-availability and custom priority