🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-18 14:00:27 -04:00
parent 0b3eff6cab
commit ffd307af3f
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM casjaysdevdocker/alpine:latest AS build
FROM casjaysdevdocker/php:latest AS build
ARG ALPINE_VERSION="v3.16"

View File

@ -19,7 +19,7 @@
# @@Template : other/start-service
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Set functions
__pgrep() { ps aux 2>/dev/null | grep -F "$@" | grep -qv 'grep' || return 10; }
__pgrep() { ps aux 2>/dev/null | grep -Fw " $@" | grep -qv 'grep' || return 10; }
__find() { find "$1" -mindepth 1 -type f,d 2>/dev/null | grep '^' || return 10; }
__curl() { curl -q -LSsf -o /dev/null -s -w "200" "$@" 2>/dev/null || return 10; }
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@ -108,7 +108,7 @@ healthcheck)
if __pgrep "$SERVICE_NAME"; then
echo "$SERVICE_NAME is running"
else
exec lighttpd -f /config/lighttpd.conf -D
exec lighttpd -f /config/lighttpd/lighttpd.conf -D
fi
;;
esac