Adding instructions to run Statping as a service on Windows.

master
Tim Sullivan 2019-09-15 18:11:19 -07:00
parent 0892413dbc
commit 501aee1677
1 changed files with 12 additions and 0 deletions

@ -7,5 +7,17 @@ Statping requires `sass` to be installed to the local machine to compile SCSS in
- Node: `npm install sass -g`
- Ruby: `gem install sass`
# Running Statping as a Service
To ensure Statping is always running, it can be installed to run as a service on a Windows machine. The easiest way to do that is by using NSSM, the [Non-Sucking Service Manager](https://nssm.cc/download). Download and unzip the compressed file to a location on your machine running Statping to get started:
1. Open an administrative command prompt.
2. Change to the folder that contains the 64 bit version of NSSM.
3. Type "nssm install Statping" and press enter.
4. For the properties, use the following as an example:
Path: C:\Program Files\Statping\statping.exe
Startup directory: C:\Program Files\Statping
5. Click "Install".
6. Launch the windows services manager.
7. Run Statping.
## Known Issues with Windows
Unfortunately, Statping only works on Windows 64-bit processors. If you have more than 4gb of ram, there's a good chance you already have a 64-bit processor. Download the [Latest Releases](https://github.com/hunterlong/statping/releases/latest) of Statping, extract the ZIP file, then double click on the `statping.exe` file. You can use a SQLite database for a quick setup, or connect to a local/remote Postgres or MySQL database server.