Update README.md

This commit is contained in:
smallsolar 2024-05-02 07:56:57 +00:00
parent fbe4d86356
commit 42a8d3f9ca
1 changed files with 10 additions and 0 deletions

View File

@ -1,2 +1,12 @@
# sys_uptime
## Installation
* `git clone https://git.solarcene.community/smallsolar/sys_uptime.git`
* `cd sys_uptime`
* `python3 -m venv venv`
* `nano uptime.service` - change the directories
* `sudo cp uptime.service /etc/systemd/system/`
* `sudo systemctl enable uptime`
* `source venv/bin/activate`
* `pip3 install requests uptime`
* `sudo systemctl start uptime`