Skip to content

Simple Service Manager .NET8 alternative of NSSM - the Non-Sucking Service Manager

License

Notifications You must be signed in to change notification settings

koleys/SimpleServiceManager

Repository files navigation

SSM: Simple Service Manager : Run any Windows application as a Service an NSSM alternative

Features:

  • .NET 8 alternative of NSSM (the Non-Sucking Service Manager), srvany and other service helper programs.
  • Automatically handles failure of the application running as a service.
  • Continuously monitors the Windows application status.
  • If says it's running, it really is.
  • Service automatically stops if the launched application exits.
  • Service Logs all errors in log files to help torubleshoot the issues.

Download

Installation

  • Extract SimpleServiceManager.zip in an accessible folder on your system.

  • Modify the appsettings.json file with the path to your Application.exe which you want to run as service

{
  "Configs": {
    "AppPath": "C:\\Path\\To\\Your\\Application.exe"
  }
}
  • Install it as a service from an Elevated (Administrator) Command Prompt:
sc create "MyServiceName" start= auto binPath= "C:\Path\To\SimpleServiceManager.exe"
sc description MyServiceName "My services description"
sc start MyServiceName

Note the spaces between start=, binPath= and their parameters. This is intended.

Uninstallation

sc stop MyServiceName
sc delete MyServiceName

About

Simple Service Manager .NET8 alternative of NSSM - the Non-Sucking Service Manager

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages