Tools: NSSM

The Non-Sucking Service Manager

NSSM is a really simple application for creating a Windows service from any executable command.

It’s similar to srvany if you’ve ever used that before. NSSM includes support for handling application exits depending on the exit code. That’s about it. There’s not much to it, but it is quick and simple way to solve a not-uncommon problem&madsh;make something run without requiring me to log in and start it. I use NSSM to host a Node.JS process and run a Hubot instance. It’s also an option for Java. There is a product called Java Service Wrapper which offers a lot of options, but if you just want to run a Jar outside of a desktop session (eg LogStash), again it’s quick and easy.

The important part is that it’s Non-Sucking.

Tags// , ,
More Reading
comments powered by Disqus