fixes
This commit is contained in:
parent
38bfed7c5b
commit
a125de8c4a
@ -129,6 +129,9 @@ Or install it with the bundled script:
|
|||||||
install-service.bat
|
install-service.bat
|
||||||
```
|
```
|
||||||
|
|
||||||
|
The script expects `process-monitor.exe` and `process-monitor.conf` to be in the
|
||||||
|
same directory as `install-service.bat`.
|
||||||
|
|
||||||
Remove the service with:
|
Remove the service with:
|
||||||
|
|
||||||
```cmd
|
```cmd
|
||||||
|
|||||||
@ -3,8 +3,8 @@ setlocal
|
|||||||
|
|
||||||
set "SERVICE_NAME=ProcessMonitorService"
|
set "SERVICE_NAME=ProcessMonitorService"
|
||||||
set "BASE_DIR=%~dp0"
|
set "BASE_DIR=%~dp0"
|
||||||
set "EXE_PATH=%BASE_DIR%build\Release\process-monitor.exe"
|
set "EXE_PATH=%BASE_DIR%process-monitor.exe"
|
||||||
set "CONFIG_PATH=%BASE_DIR%build\Release\process-monitor.conf"
|
set "CONFIG_PATH=%BASE_DIR%process-monitor.conf"
|
||||||
|
|
||||||
if not exist "%EXE_PATH%" (
|
if not exist "%EXE_PATH%" (
|
||||||
echo EXE not found: "%EXE_PATH%"
|
echo EXE not found: "%EXE_PATH%"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user