Skip to content

Commit

Permalink
Updated readme file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtiomCiumac committed Sep 12, 2014
1 parent 1eeba72 commit f8ad352
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,23 @@ UPS Monitor
Simple windows service to monitor locally attached UPS and shutdown the computer if remaining time or battery charge percent becomes less than configured threshold.

The service uses NLog and must have write access to `Logs` folder.

To read the battery information the service is using WMI commands, so the running account must have correct access rights to query WMI information.


Service installation
--------------------

Run the following command as administrator from command line: `UpsMonitor.exe install`


Service uninstallation
----------------------

Run the following command as administrator from command line: `UpsMonitor.exe uninstall`


Running service as command line application
-------------------------------------------

Simply run the following command: `UpsMonitor.exe`

0 comments on commit f8ad352

Please sign in to comment.