-
Notifications
You must be signed in to change notification settings - Fork 27
Run azurite using pm2 #56
Comments
Good point @waygee ! I do not see a reason why pm2 should not work with Azurite. There are two points, however, that need to be considered IMHO:
Thoughts? |
Thanks for your response @arafato, in regards to the issues you raise: I intend to run Azurite in a single thread (in forked mode in pm2), so I believe I can get by with the first limitation. In addition, I am intending to use Azurite in a vagrant virtual machine for dev/testing purposes so I think it would be ok to not have graceful shutdown right away. Thank you for considering to add support for graceful shutdown, it would be very welcome. I originally opened the issue to get the correct command line syntax for starting azurite using pm2. Can you help supply the actual command that I would need to run? |
Assuming that Azurite has beed installed globally with You can, however, install it locally into some folder. Assuming that we are in @waygee Does this work for you? If not please re-open this issue. I've also just added support for graceful shutdown. Will be published in the next few days as v0.7.10. |
@waygee just published |
Is it possible to run azurite using pm2 process manager for nodejs?
I would like to do something like:
cd /dir/where/azurite
pm2 start someprocess.js
Thanks for your help in advance.
The text was updated successfully, but these errors were encountered: