Reviewed-on: #3 |
||
---|---|---|
.editorconfig | ||
LICENSE | ||
README.md | ||
srvid-beacon.service | ||
srvid-beacond |
README.md
SrvID-Beacon
Pingable http endpoint for monitoring server uptime
Setup Instructions
Install python3:
# apt update
# apt install python3 python3-pip
# pip3 install aiohttp
Clone git repository:
# cd /opt
# git clone https://git.tjdev.de/tjdev/srvid-beacon
# cd srvid-beacon
Create srvid-beacon user:
# useradd -s /bin/bash srvid-beacon
Set permissions on daemon file:
# chown :srvid-beacon srvid-beacond
# chmod 654 srvid-beacond
Install as systemd service:
# ln -s /opt/srvid-beacon/srvid-beacon.service /etc/systemd/system/srvid-beacon.service
# systemctl daemon-reload
# systemctl enable srvid-beacon.service
# systemctl start srvid-beacon.service
# systemctl status srvid-beacon.service