initial commit
This commit is contained in:
commit
0f8f97112a
BIN
WinSW-x64.exe
Normal file
BIN
WinSW-x64.exe
Normal file
Binary file not shown.
12
WinSW-x64.xml
Normal file
12
WinSW-x64.xml
Normal file
@ -0,0 +1,12 @@
|
||||
<service>
|
||||
<!-- 指定在Windows系统内部使用的识别服务的ID。在系统中安装的所有服务中,这必须是唯一的,它应该完全由字母数字字符组成 -->
|
||||
<id>rathole</id>
|
||||
<!-- 服务的简短名称,它可以包含空格和其他字符。尽量简短,就像“id”一样,在系统的所有服务名称中,也要保持唯一 -->
|
||||
<name>rathole</name>
|
||||
<!-- 该服务可读描述。当选中该服务时,它将显示在Windows服务管理器中 -->
|
||||
<description>内网穿透 Rathole</description>
|
||||
<!-- 该元素指定要启动的可执行文件 -->
|
||||
<executable>D:\nat\start.bat</executable>
|
||||
<!-- 日志输出位置 -->
|
||||
<logpath>D:\nat\Logs</logpath>
|
||||
</service>
|
3
install service.bat
Normal file
3
install service.bat
Normal file
@ -0,0 +1,3 @@
|
||||
"WinSW-x64.exe" install
|
||||
net start rathole
|
||||
pause
|
2
uninstall service.bat
Normal file
2
uninstall service.bat
Normal file
@ -0,0 +1,2 @@
|
||||
"WinSW-x64.exe" uninstall
|
||||
pause
|
Loading…
Reference in New Issue
Block a user