aboutsummaryrefslogtreecommitdiffstats
path: root/www/lighttpd
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2012-06-16 18:21:47 +0800
committermm <mm@FreeBSD.org>2012-06-16 18:21:47 +0800
commit98c889175e79be77865e33eb8cf2fcc2b7b33f0b (patch)
treef396f2feafd6ff44948215ee9f99d4b07fb3a44a /www/lighttpd
parent3068f1bb66e51d06da3766b18850cefa907ce6f1 (diff)
downloadfreebsd-ports-gnome-98c889175e79be77865e33eb8cf2fcc2b7b33f0b.tar.gz
freebsd-ports-gnome-98c889175e79be77865e33eb8cf2fcc2b7b33f0b.tar.zst
freebsd-ports-gnome-98c889175e79be77865e33eb8cf2fcc2b7b33f0b.zip
Do a configtest before performing a graceful restart
Diffstat (limited to 'www/lighttpd')
-rw-r--r--www/lighttpd/Makefile2
-rw-r--r--www/lighttpd/files/lighttpd.sh.in1
2 files changed, 2 insertions, 1 deletions
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile
index 9304a9a2bf75..0a84666e9eb3 100644
--- a/www/lighttpd/Makefile
+++ b/www/lighttpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= lighttpd
PORTVERSION= 1.4.31
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES?= www
MASTER_SITES?= http://download.lighttpd.net/lighttpd/releases-1.4.x/
diff --git a/www/lighttpd/files/lighttpd.sh.in b/www/lighttpd/files/lighttpd.sh.in
index 3c8c37b0a227..b003ab57468a 100644
--- a/www/lighttpd/files/lighttpd.sh.in
+++ b/www/lighttpd/files/lighttpd.sh.in
@@ -50,6 +50,7 @@ fi
command=%%PREFIX%%/sbin/lighttpd
stop_postcmd=stop_postcmd
restart_precmd="lighttpd_checkconfig"
+graceful_precmd="lighttpd_checkconfig"
graceful_cmd="lighttpd_graceful"
gracefulstop_cmd="lighttpd_gracefulstop"
configtest_cmd="lighttpd_checkconfig"