diff --git a/Windows.md b/Windows.md index 977225d..2cf11f9 100644 --- a/Windows.md +++ b/Windows.md @@ -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. \ No newline at end of file