mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
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
This commit is contained in:
parent
7d685abdb3
commit
5a0478bf40
@ -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/
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user