mirror of
https://github.com/casjaysdevdocker/lighttpd
synced 2025-01-31 00:34:27 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
0b3eff6cab
commit
ffd307af3f
@ -1,4 +1,4 @@
|
|||||||
FROM casjaysdevdocker/alpine:latest AS build
|
FROM casjaysdevdocker/php:latest AS build
|
||||||
|
|
||||||
ARG ALPINE_VERSION="v3.16"
|
ARG ALPINE_VERSION="v3.16"
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
# @@Template : other/start-service
|
# @@Template : other/start-service
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Set functions
|
# 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; }
|
__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; }
|
__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
|
if __pgrep "$SERVICE_NAME"; then
|
||||||
echo "$SERVICE_NAME is running"
|
echo "$SERVICE_NAME is running"
|
||||||
else
|
else
|
||||||
exec lighttpd -f /config/lighttpd.conf -D
|
exec lighttpd -f /config/lighttpd/lighttpd.conf -D
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user