mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-03-06 20:13:12 +08:00
UI
This commit is contained in:
BIN
ui/setup/service/nssm.exe
Normal file
BIN
ui/setup/service/nssm.exe
Normal file
Binary file not shown.
23
ui/setup/service/run.cmd
Normal file
23
ui/setup/service/run.cmd
Normal file
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
%~d0
|
||||
cd "%~dp0"
|
||||
set nssm="%cd%\nssm"
|
||||
cd ..
|
||||
|
||||
%nssm% install %1 "%cd%\bin\%1.exe"
|
||||
|
||||
%nssm% set %1 DisplayName %1
|
||||
%nssm% set %1 Description rustdesk %1 server
|
||||
%nssm% set %1 Start SERVICE_AUTO_START
|
||||
|
||||
%nssm% set %1 ObjectName LocalSystem
|
||||
%nssm% set %1 Type SERVICE_WIN32_OWN_PROCESS
|
||||
|
||||
%nssm% set %1 AppThrottle 1000
|
||||
%nssm% set %1 AppExit Default Restart
|
||||
%nssm% set %1 AppRestartDelay 0
|
||||
|
||||
%nssm% set %1 AppStdout "%cd%\logs\%1.out"
|
||||
%nssm% set %1 AppStderr "%cd%\logs\%1.err"
|
||||
|
||||
%nssm% start %1
|
||||
Reference in New Issue
Block a user