Add NSSM for Windows self-hosted Docs
I figured an alternative way to run the server binaries and this may be a solution for this using Windows server thus I think it should be added to the docs.
Explaination If you didn't know pm2 only starts the server process (hbbs.exe/hbbr.exe) when the user is login this means that you must login as ther user who created (such as if bob ran the pm2 commands then the server only starts when bob is logged in) thus this creates a problem for those who run Windows Server. My solution is to use NSSM which allows executables to be triggered via a windows service thus the server is started upon boot.
Commands used
nssm install <Desired hbbs servicename> <RustDesk hbbs binary path> <RustDesk hbbs arguments>
nssm install <Desired hbbr servicename> <RustDesk hbbr binary path> <RustDesk hbbr arguments>
Example of commands used
nssm install "RustDesk hbbs service" "C:\Program Files\RustDesk Server\hbbs.exe" -r 0.0.0.0 -k _ (-k option is optional just for better security)
nssm install "RustDesk hbbr Service" "C:\Program Files\RustDesk Server\hbbr.exe" -k _ (-k option is optional just for better security)
Tested on Windows Server 2022 Standard Core
Appologies for the delay as I have been very busy in my private life lately, however I have managed to make time in order to edit and make a pull request to the docs repo as requested. Please check and review my pull request. I'm closing this issue as it is no longer required.