Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

A self hosted Windows service which provides an API to query the state, start, stop, restart Windows services. The idea came from wanting a way to allow HUBOT (https://hubot.github.com/) to perform actions on Windows Services.

License

Notifications You must be signed in to change notification settings

terencevs/WindowsServiceWebControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Service Web Control

A self hosted Windows service which provides an API to query the state, start, stop, restart Windows services. The idea came from wanting a way to allow HUBOT (https://hubot.github.com/) to perform actions on Windows Services.

GitHub license Build status

End Points

Get

  • http://{servicehost}:8081/service/{host}/{service_name}/status
  • http://{servicehost}:8081/health/ping

Post

  • http://{servicehost}:8081/service/{host}/{service_name}/start
  • http://{servicehost}:8081/service/{host}/{service_name}/stop
  • http://{servicehost}:8081/service/{host}/{service_name}/restart

Installing Service

To run the service in command line and not install it simply double click on the executable. To install the service simple run the following command from cmd: (run as administrator)

WindowsServiceWebControl install

About

A self hosted Windows service which provides an API to query the state, start, stop, restart Windows services. The idea came from wanting a way to allow HUBOT (https://hubot.github.com/) to perform actions on Windows Services.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages