27 lines
458 B
Markdown
27 lines
458 B
Markdown
|
# ʹ<><CAB9> Windows Service <20><><EFBFBD>b Garnet <20>ֲ<EFBFBD>ʽ<EFBFBD><CABD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
<EFBFBD><EFBFBD><EFBFBD>ȿ<EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD> Garnet <20><><EFBFBD><EFBFBD> Redis <20>ֲ<EFBFBD>ʽ<EFBFBD><CABD><EFBFBD>棬<EFBFBD><E6A3AC>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9> Windows Service <20>ڵ<EFBFBD><DAB5><EFBFBD><EFBFBD>ϰ<EFBFBD>װ Garnet <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ӧ<EFBFBD>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
## <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
```shell
|
|||
|
sc.exe create GarnetService binpath="C:\GarnetWindowsService.exe" start= auto
|
|||
|
```
|
|||
|
|
|||
|
## <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
```shell
|
|||
|
sc.exe start GarnetService
|
|||
|
```
|
|||
|
|
|||
|
## ֹͣ<CDA3><D6B9><EFBFBD><EFBFBD>
|
|||
|
|
|||
|
```shell
|
|||
|
sc.exe stop GarnetService
|
|||
|
```
|
|||
|
|
|||
|
## ж<>ط<EFBFBD><D8B7><EFBFBD>
|
|||
|
|
|||
|
```shell
|
|||
|
sc.exe delete GarnetService
|
|||
|
```
|