13 lines
409 B
Markdown
13 lines
409 B
Markdown
# 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
|
|
* `nano sys_uptime.py` - change the host
|
|
* `sudo cp uptime.service /etc/systemd/system/`
|
|
* `sudo systemctl enable uptime`
|
|
* `source venv/bin/activate`
|
|
* `pip3 install requests uptime`
|
|
* `sudo systemctl start uptime` |