pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/54295 (www/lighttpd reload function is not working)



The following reply was made to PR pkg/54295; it has been noted by GNATS.

From: nia <nia%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
	bsiegert%NetBSD.org@localhost, kab00m%labma.ru@localhost
Subject: Re: pkg/54295 (www/lighttpd reload function is not working)
Date: Fri, 14 Jun 2019 12:46:40 +0000

 On Fri, Jun 14, 2019 at 11:54:29AM +0000, bsiegert%NetBSD.org@localhost wrote:
 > Synopsis: www/lighttpd reload function is not working
 > 
 > Responsible-Changed-From-To: pkg-manager->nia
 > Responsible-Changed-By: bsiegert%NetBSD.org@localhost
 > Responsible-Changed-When: Fri, 14 Jun 2019 11:54:28 +0000
 > Responsible-Changed-Why:
 > Nia, you touched it last :) Do you have any ideas?
 > (Feel free to unassign if not.)
 > 
 > 
 >
 
 I don't think it could work without lighttpd-angel.
 
 According to `man rc.subr`, the reload command defaults to sending
 SIGHUP.
 
 When lighttpd-angel is told to reload lighttpd with SIGHUP, what it
 actually does is send SIGINT to the lighttpd process, wait 5
 microseconds (!), and spawn another process.
 
 I don't have a working lighttpd config right now, but it seems like
 it would be a good idea to make our init script spawn the angel
 process instead.
 
 Then again, looking in other packaging systems, they're also sending
 SIGHUP to lighttpd and expecting it to reload. Hm...
 


Home | Main Index | Thread Index | Old Index