Update README.md

Guide to install as a windows service
This commit is contained in:
Pavel Rubin 2017-06-04 19:22:33 +03:00 committed by GitHub
parent d9e27f193c
commit ae3abff0b2

View File

@ -65,6 +65,28 @@ And for x86_64:
`make CPREFIX=x86_64-w64-mingw32 WINDIVERTHEADERS=/path/to/windivert/include WINDIVERTLIBS=/path/to/windivert/amd64` `make CPREFIX=x86_64-w64-mingw32 WINDIVERTHEADERS=/path/to/windivert/include WINDIVERTLIBS=/path/to/windivert/amd64`
# How to install as a windows service
One way is using a program [srvstart](http://www.rozanski.org.uk/software).
Unpack to the dir of goodbyedpi and create 3 files:
*goodbyedpi.ini*
```INI
[GoodByeDPI]
startup=goodbyedpi.exe
shutdown_method=winmessage
auto_restart=n
```
*srvinstall.bat*
```Batchfile
srvstart install GoodByeDPI -c %CD%\goodbyedpi-svc.ini
```
*srvremove.bat*
```Batchfile
srvstart remove GoodByeDPI
```
Run this this batch files as an Administrator to install/remove windows service.
Then you can open windows services panel to run service or make it start automaticaly.
# Similar projects # Similar projects
[zapret](https://github.com/bol-van/zapret) by @bol-van (for Linux). [zapret](https://github.com/bol-van/zapret) by @bol-van (for Linux).