Notices: This section not yet converted to new layout. Download stats are rolling back out.

NSSM - the Non-Sucking Service Manager

2.24.0.20161223

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 3/15/2017.

NSSM is a service helper which doesn't suck. It can start any application as an NT service and will restart the service if it fails for any reason. srvany and other service helper programs suck because they don't handle failure of the application running as a service. If you use such a program you may see a service listed as started when in fact the application has died. nssm monitors the running service and will restart it if it dies. With nssm you know that if a service says it's running, it really is. Alternatively, if your application is well-behaved you can configure nssm to absolve all responsibility for restarting it and let Windows take care of recovery actions.

nssm logs its progress to the system Event Log so you can get some idea of why an application isn't behaving as it should.

nssm also features a graphical service installation and removal facility. Admittedly this does suck. I hate trying to make GUIs

To install NSSM - the Non-Sucking Service Manager, run the following command from the command line or from PowerShell:

C:\> choco install nssm

To upgrade NSSM - the Non-Sucking Service Manager, run the following command from the command line or from PowerShell:

C:\> choco upgrade nssm

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'nssm'
    $url = 'https://nssm.cc/release/nssm-2.24.zip'
    $checksum = '727d1e42275c605e0f04aba98095c38a8e1e46def453cdffce42869428aa6743'
    $checksumType = 'sha256'
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    
    Install-ChocolateyZipPackage -PackageName "$packageName" `
                                 -Url "$url" `
                                 -UnzipLocation "$toolsDir" `
                                 -Checksum "$checksum" `
                                 -ChecksumType "$checksumType"
    
    if (Get-ProcessorBits 32) {
      $ignoreFolder = 'win64'
    } else {
      $ignoreFolder = 'win32'
    }
    
    $installDir = (gci $toolsDir nssm-*).FullName
    $ignoreFile = Join-Path -Path $installDir `
                            -ChildPath $ignoreFolder |
                  Join-Path -ChildPath "nssm.exe.ignore"
    
    Set-Content -Path $ignoreFile `
                -Value $null

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Maintainer(s)

Software Author(s)

  • Iain Patterson

Copyright

© Iain Patterson

Tags

Release Notes

Program

Package

  • Automatically built and uploaded by dtgm
  • Removed 'dir' parameter from 'gci'

Version History

Version Downloads Last updated Status
NSSM - the Non-Sucking Service Manager 2.24.0.20161221 512 Thursday, December 22, 2016 approved
NSSM - the Non-Sucking Service Manager 2.24.0 55901 Sunday, September 14, 2014 approved
NSSM - the Non-Sucking Service Manager 2.21.1.0 3435 Thursday, December 12, 2013  
NSSM - the Non-Sucking Service Manager 2.16.0 2052 Monday, September 23, 2013  

Discussion for the NSSM - the Non-Sucking Service Manager Package

Ground rules:

  • This discussion is only about NSSM - the Non-Sucking Service Manager and the NSSM - the Non-Sucking Service Manager package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or NSSM - the Non-Sucking Service Manager, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus