add README
This commit is contained in:
21
README.md
Normal file
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# Install Beszel Agent As Service Under Windows
|
||||||
|
|
||||||
|
The Windows cmd file `[install-beszel-service.cmd](https://gitea.elpatron.me/elpatron/Install-Beszel-Agent/src/branch/main/install-beszel-service.cmd)` installs the Beszel agent as a service under Microsoft Windows.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Open a `cmd.exe` shell with administrative rights.
|
||||||
|
|
||||||
|
````
|
||||||
|
git clone https://gitea.elpatron.me/elpatron/Install-Beszel-Agent
|
||||||
|
cd Install-Beszel-Agent
|
||||||
|
install-beszel-service.cmd <your Beszel ssh key>
|
||||||
|
````
|
||||||
|
|
||||||
|
## Explanation
|
||||||
|
|
||||||
|
The script copies `agent.exe` into the directory `%ProgramFiles%\BeszelAgent` and takes usage of NSSM to install the service. NSSM is beeing installed by `winget`.
|
||||||
|
|
||||||
|
The provided `agent.exe` was compiled on January, 18th 2025 by me and should be exchanged by a self compiled or official executable.
|
||||||
|
|
||||||
|
See [Using Beszel to monitor Windows](https://blog.ktz.me/using-beszel-to-monitor-windows/) by Alex Kretschmar.
|
Reference in New Issue
Block a user