diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-12 22:49:58 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-10-12 22:49:58 +0000 |
commit | 5a0478bf403492de3669d19eba56347939bef24a (patch) | |
tree | 7941833bfe9c3be9d2c129e337ddaab79e79b036 | |
parent | 7d685abdb32bb7c56f642caf1d89a083bb1658ea (diff) | |
download | ports-5a0478bf403492de3669d19eba56347939bef24a.tar.gz ports-5a0478bf403492de3669d19eba56347939bef24a.zip |
www/lighttpd: fix regression on service restart
Problem:
Performing sanity check on lighttpd configuration:
lighttpd not running? (check /var/run/lighttpd.pid).
Starting lighttpd.
2021-10-12 23:02:07: (network.c.419) can't bind to socket: 0.0.0.0:80: Address already in use
/usr/local/etc/rc.d/lighttpd: WARNING: failed to start lighttpd
Workaround:
Performing sanity check on lighttpd configuration:
lighttpd not running? (check /var/run/lighttpd.pid).
Starting lighttpd.
Diagnostics:
When "lighttpd_checkconfig" runs,
the content of the pid file is removed.
PR: 259114
Submitted by: dinoex
-rw-r--r-- | www/lighttpd/Makefile | 1 | ||||
-rw-r--r-- | www/lighttpd/files/lighttpd.in | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/www/lighttpd/Makefile b/www/lighttpd/Makefile index 15be00d0567e..0787fb915951 100644 --- a/www/lighttpd/Makefile +++ b/www/lighttpd/Makefile @@ -2,6 +2,7 @@ PORTNAME?= lighttpd PORTVERSION= 1.4.60 +PORTREVISION= 1 CATEGORIES?= www MASTER_SITES?= https://download.lighttpd.net/lighttpd/releases-1.4.x/ diff --git a/www/lighttpd/files/lighttpd.in b/www/lighttpd/files/lighttpd.in index 3ea8749e615e..1894d95c50e4 100644 --- a/www/lighttpd/files/lighttpd.in +++ b/www/lighttpd/files/lighttpd.in @@ -47,7 +47,7 @@ fi command=%%PREFIX%%/sbin/lighttpd stop_postcmd=stop_postcmd -restart_precmd="lighttpd_checkconfig" +#restart_precmd="lighttpd_checkconfig" graceful_precmd="lighttpd_checkconfig" graceful_cmd="lighttpd_graceful" gracefulstop_cmd="lighttpd_gracefulstop" |