Default config
All checks were successful
/ Release (push) Successful in 1m7s

This commit is contained in:
Kekskurse 2023-07-21 13:25:35 +02:00
parent 40d601f5b4
commit a80fcb5d4c
Signed by: kekskurse
GPG key ID: 728ACCB59341E7E4
2 changed files with 5 additions and 2 deletions

View file

@ -23,7 +23,5 @@ checks:
enabled: true enabled: true
services: services:
- sshd - sshd
- test
- docker
version: version:
enabled: true enabled: true

View file

@ -2,3 +2,8 @@
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
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