From 98c889175e79be77865e33eb8cf2fcc2b7b33f0b Mon Sep 17 00:00:00 2001 From: mm Date: Sat, 16 Jun 2012 10:21:47 +0000 Subject: Do a configtest before performing a graceful restart --- www/lighttpd/Makefile | 2 +- www/lighttpd/files/lighttpd.sh.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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" -- cgit