after update to 1.4.60 Problem: # service lighttpd restart 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: # killall lighttpd # service lighttpd restart 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. $ truss /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd/lighttpd.conf -tt
Created attachment 228637 [details] hotfix
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5a0478bf403492de3669d19eba56347939bef24a commit 5a0478bf403492de3669d19eba56347939bef24a Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-10-12 22:49:58 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-10-12 22:49:58 +0000 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 www/lighttpd/Makefile | 1 + www/lighttpd/files/lighttpd.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
Committed, thanks!