Added README
This commit is contained in:
parent
0273973538
commit
3f1d2e2d60
26
README.md
Normal file
26
README.md
Normal file
@ -0,0 +1,26 @@
|
||||
pyupsmon
|
||||
========
|
||||
|
||||
Monitor for Wöhrle CONVERT-1000 UPS written in Python3
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
* Install pyyaml
|
||||
```
|
||||
sudo emerge -NDuv pyyaml
|
||||
```
|
||||
* Check out this project and copy the example config file to `/etc`
|
||||
```
|
||||
sudo cp pyupsmon.yml.example /etc/pyupsmon.yml
|
||||
```
|
||||
* Edit the config to your liking using your favourite text editor
|
||||
* Install the `systemd` unit file
|
||||
```
|
||||
sudo cp pyupsmon.service /etc/systemd/system
|
||||
```
|
||||
* Enable and start the service
|
||||
```
|
||||
sudo systemctl enable pyupsmon.service
|
||||
sudo systemctl start pyupsmon.service
|
||||
```
|
@ -32,5 +32,5 @@ shutdown:
|
||||
|
||||
# Shutdown command to execute after timeout expired
|
||||
#
|
||||
# Default: /sbin/shutdown -h now
|
||||
# Default: /sbin/shutdown -h +2
|
||||
#command: /sbin/shutdown -h now
|
||||
|
Loading…
Reference in New Issue
Block a user