I am working on an app which can start and stop a service (lnd) with different options for different users:
- Service Instance 1 for Alice using config 1
- Service Instance 2 for Bob using config 2
- Service Instance 3 for Carol using config 3
- ...
- Service Instance n for Neil using config n
So, as a quick solution to see if it works at all I just start the service in separate terminal windows. It works.
Now, to prepare it for production, I am thinking of a process manager which could spawn, start/stop, monitor etc with the lnd.
In the past I used to succesfully run PM2 for this purpose but as it's more from my NodeJS experience, I wonder if there are other process managers which could be more general, not NodeJS-oriented or just may be better at something than PM2.