Skip to content

yalger/Shirley

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shirley Windows Service Manager

Compile with clang

cl.exe json.c ShirleyService.c Shirley.c /FeShirley.exe
cl.exe json.c ShirleyService.c ShirleySvc.c /FeShirleySvc.exe

Installation

Assume the folder of executable files is "C:\Program Files\Shirley".

Create Shirley Service (Require administrator permission):

sc.exe create "Shirley Service" binPath= "C:\Program Files\Shirley\ShirleySvc.exe" start= auto
mkdir "C:\Program Files\Shirley\log"

Usage (in Windows CMD)

Add service:

Shirley.exe Add "Hello Service" "\"C:\Program Files\Hello.exe\" -c \"C:\Program Files\Hello.ini\""

Remove service:

Shirley.exe Remove "Hello Service"

Start all (Require administrator permission):

sc.exe start "Shirley Service"

Stop all (Require administrator permission):

sc.exe stop "Shirley Service"

Note: You need to restart "Shirley Service" to start (or stop) a newly added (or removed) service.

Uninstallation

Delete Shirley Service (Require administrator permission):

sc.exe delete "Shirley Service"

Delete application folder.

About

Windows Service Manager

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages