Compare commits

...

8 Commits
v1.0.7 ... main

Author SHA1 Message Date
Kekskurse 94d1f90722
ci: fix pipeline
/ Release (push) Has started running Details
2023-07-24 01:53:14 +02:00
Kekskurse 383ce965a0
ci: fix pipeline
/ Release (push) Has started running Details
2023-07-24 01:50:56 +02:00
Kekskurse 3fde27f83b
stuff
/ Release (push) Successful in 1m10s Details
2023-07-21 16:11:16 +02:00
Kekskurse 28b5ccca8e
stuff
/ Release (push) Successful in 1m14s Details
2023-07-21 16:02:35 +02:00
Kekskurse 280a9559f6
Default config
/ Release (push) Successful in 1m8s Details
2023-07-21 13:31:00 +02:00
Kekskurse a80fcb5d4c
Default config
/ Release (push) Successful in 1m7s Details
2023-07-21 13:25:35 +02:00
Kekskurse 40d601f5b4
docs: Update Readme
/ Release (push) Successful in 1m14s Details
2023-07-21 12:38:29 +02:00
Kekskurse 2ebe72790f
docs: Update Readme
/ Release (push) Successful in 1m9s Details
2023-07-21 12:38:12 +02:00
4 changed files with 21 additions and 14 deletions

View File

@ -4,13 +4,14 @@ Status Page with your Server informations (HDD usage, ram usage, load, systemd)
# Installation
## Fast
```
curl https://git.keks.cloud/kekskurse/http-server-status/raw/branch/main/install.sh | sh
```
## Dowanload URLs:
## Manual
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 Dev Build: `https://kekscloud-releases.s3.eu-central-003.backblazeb2.com/http-server-status/last.deb`
* 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
@ -30,6 +31,4 @@ After this start the server
```
sudo systemctl start http-server-status
```
.
```

View File

@ -17,13 +17,11 @@ checks:
max_load_15: 5
memory:
enabled: true
max: 100
max: 80
max_swap: 80
systemd:
enabled: true
services:
- sshd
- test
- docker
version:
enabled: true

View File

@ -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 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

View File

@ -1,4 +1,4 @@
#/bin/sh
if ! id -u http-server-status > /dev/null 2>&1; then
adduser --system http-server-status
fi
fi