Fix NSSM path
This commit is contained in:
21
README.md
21
README.md
@@ -22,6 +22,23 @@ Open a `cmd.exe` shell, `cd` into the script directory (where you extracted the
|
||||
|
||||
The script will install *Git* and *Go* (if not yet installed) with *Winget*, clone the *Beszel* repository and build a Windows 64 bit `agent.exe` binary.
|
||||
|
||||
```
|
||||
C:\Users\User\Downloads\install-beszel-service>build_agent.cmd
|
||||
This script downloads the Beszel repository and builds the Beszel agent for Windows (64 Bit only).
|
||||
If not yet installed, Git and Go will be installed via Winget.
|
||||
|
||||
Winget executable found
|
||||
Installing Go with Winget
|
||||
Installing Git with Winget
|
||||
Refreshing environment variables from registry for cmd.exe. Please wait...Finished..
|
||||
Cloning Beszel repository
|
||||
Building agent
|
||||
Build successful
|
||||
Beszel agent.exe was built and copied, you can proceed with 'install-beszel-service.cmd'.
|
||||
```
|
||||
|
||||
|
||||
|
||||
## (2) Installing the service
|
||||
|
||||
### Prerequisites
|
||||
@@ -54,6 +71,10 @@ The provided `agent.exe` was compiled on January, 17th 2025 by me and should be
|
||||
|
||||
For more details, see [*Using Beszel to monitor Windows*](https://blog.ktz.me/using-beszel-to-monitor-windows/) by Alex Kretschmar.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
## (3) Updating the service
|
||||
|
||||
### Prerequisites
|
||||
|
@@ -34,7 +34,7 @@ curl.exe --output "%TEMP%\nssm-2.24.zip" --url https://nssm.cc/ci/nssm-2.24-101-
|
||||
echo Extracting ZIP file
|
||||
tar.exe -xf %TEMP%\nssm-2.24.zip >nul 2>&1
|
||||
echo Copying nssm.exe to %DESTINATIONDIR%
|
||||
copy .\nssm-2.24\win64\nssm.exe "%DESTINATIONDIR%\" >nul 2>&1
|
||||
copy .\nssm-2.24-101-g897c7ad\win64\nssm.exe "%DESTINATIONDIR%\" >nul 2>&1
|
||||
set NSSMEXE="%DESTINATIONDIR%\nssm.exe"
|
||||
echo Deleting temporary files and directories
|
||||
del "%TEMP%\nssm-2.24.zip" >nul 2>&1
|
||||
|
Reference in New Issue
Block a user