Compare commits
8 Commits
Author | SHA1 | Date |
---|---|---|
Kekskurse | 94d1f90722 | |
Kekskurse | 383ce965a0 | |
Kekskurse | 3fde27f83b | |
Kekskurse | 28b5ccca8e | |
Kekskurse | 280a9559f6 | |
Kekskurse | a80fcb5d4c | |
Kekskurse | 40d601f5b4 | |
Kekskurse | 2ebe72790f |
17
Readme.md
17
Readme.md
|
@ -4,13 +4,14 @@ Status Page with your Server informations (HDD usage, ram usage, load, systemd)
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
## Fast
|
## Dowanload URLs:
|
||||||
```
|
|
||||||
curl https://git.keks.cloud/kekskurse/http-server-status/raw/branch/main/install.sh | sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## Manual
|
* Last Dev Build: `https://kekscloud-releases.s3.eu-central-003.backblazeb2.com/http-server-status/last.deb`
|
||||||
To Install the Server Montiroing download the last .deb File from the Release page and save it as http-server-status.deb on your server. Than install the package with dpkg
|
* Last Release Build: `https://kekscloud-releases.s3.eu-central-003.backblazeb2.com/http-server-status/stable.deb`
|
||||||
|
* Special Version: `https://kekscloud-releases.s3.eu-central-003.backblazeb2.com/http-server-status/http-server-status_1.0.7_linux_amd64.deb` (Bigger than 1.0.7)
|
||||||
|
|
||||||
|
|
||||||
|
To Install the Server Montiroing download the last .deb File from the Release page or the links above and save it as http-server-status.deb on your server. Than install the package with dpkg
|
||||||
|
|
||||||
```
|
```
|
||||||
dpkg -i http-server-status.deb
|
dpkg -i http-server-status.deb
|
||||||
|
@ -30,6 +31,4 @@ After this start the server
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo systemctl start http-server-status
|
sudo systemctl start http-server-status
|
||||||
```
|
```
|
||||||
|
|
||||||
.
|
|
|
@ -17,13 +17,11 @@ checks:
|
||||||
max_load_15: 5
|
max_load_15: 5
|
||||||
memory:
|
memory:
|
||||||
enabled: true
|
enabled: true
|
||||||
max: 100
|
max: 80
|
||||||
max_swap: 80
|
max_swap: 80
|
||||||
systemd:
|
systemd:
|
||||||
enabled: true
|
enabled: true
|
||||||
services:
|
services:
|
||||||
- sshd
|
- sshd
|
||||||
- test
|
|
||||||
- docker
|
|
||||||
version:
|
version:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
|
@ -1,2 +1,12 @@
|
||||||
|
if [ -f "/etc/http-server-status/config.yml" ]; then
|
||||||
|
echo "Config exists"
|
||||||
|
else
|
||||||
|
cp /etc/http-server-status/config.yml.sample /etc/http-server-status/config.yml
|
||||||
|
fi
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl is-active --quiet http-server-status && systemctl restart http-server-status && echo "Restart Service"
|
STATUS="$(systemctl is-active tomcat.service)"
|
||||||
|
if [ "${STATUS}" = "active" ]; then
|
||||||
|
systemctl restart http-server-status
|
||||||
|
echo "Restart Service"
|
||||||
|
fi
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#/bin/sh
|
#/bin/sh
|
||||||
if ! id -u http-server-status > /dev/null 2>&1; then
|
if ! id -u http-server-status > /dev/null 2>&1; then
|
||||||
adduser --system http-server-status
|
adduser --system http-server-status
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue