This commit is contained in:
parent
40d601f5b4
commit
a80fcb5d4c
2 changed files with 5 additions and 2 deletions
|
@ -23,7 +23,5 @@ checks:
|
|||
enabled: true
|
||||
services:
|
||||
- sshd
|
||||
- test
|
||||
- docker
|
||||
version:
|
||||
enabled: true
|
||||
|
|
|
@ -2,3 +2,8 @@
|
|||
if ! id -u http-server-status > /dev/null 2>&1; then
|
||||
adduser --system http-server-status
|
||||
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
|
Loading…
Reference in a new issue