mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/varnish: Updated for version 7.5.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fb0a135447
commit
767e9958be
3 changed files with 11 additions and 9 deletions
|
@ -33,11 +33,13 @@ VARNISH_OPTS="-f $CONF \
|
|||
-T $ADMIN_IP:${ADMIN_PORT} \
|
||||
-a $HTTP_IP:${HTTP_PORT} \
|
||||
-t $DEFAULT_TTL \
|
||||
-w${MIN_THREADS},${MAX_THREADS},${THREAD_TIMEOUT} \
|
||||
-P $PID"
|
||||
|
||||
VARNISH_PARAMS="-p http_headers=$HTTP_HEADERS \
|
||||
-p connect_timeout=$CONNECT_TIMEOUT"
|
||||
VARNISH_PARAMS="-p http_max_hdr=$HTTP_HEADERS \
|
||||
-p thread_pool_min=${MIN_THREADS} \
|
||||
-p thread_pool_max=${MAX_THREADS} \
|
||||
-p thread_pool_timeout=${THREAD_TIMEOUT} \
|
||||
-p connect_timeout=$CONNECT_TIMEOUT"
|
||||
|
||||
varnish_start() {
|
||||
if [ -e $PID ];then
|
||||
|
@ -51,7 +53,7 @@ varnish_start() {
|
|||
fi
|
||||
ulimit -n $FILE_DESCRIPTORS
|
||||
echo "starting varnish..."
|
||||
$BIN $VARNISH_OPTS $VARNISH_PARAMS
|
||||
$BIN $VARNISH_OPTS $VARNISH_PARAMS
|
||||
}
|
||||
varnish_stop() {
|
||||
echo "stopping varnish..."
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=varnish
|
||||
VERSION=${VERSION:-7.2.1}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-7.5.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="varnish"
|
||||
VERSION="7.2.1"
|
||||
VERSION="7.5.0"
|
||||
HOMEPAGE="https://www.varnish-cache.org/"
|
||||
DOWNLOAD="https://varnish-cache.org/downloads/varnish-7.2.1.tgz"
|
||||
MD5SUM="063560ae9907e6d352011170af191a8e"
|
||||
DOWNLOAD="https://varnish-cache.org/downloads/varnish-7.5.0.tgz"
|
||||
MD5SUM="160a9a1f5cb8bae594490567ee39bd4b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="Sphinx"
|
||||
|
|
Loading…
Reference in a new issue