pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/lighttpd/files Fix reload of lighttpd config files



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f71636c63883
branches:  trunk
changeset: 343891:f71636c63883
user:      nros <nros%pkgsrc.org@localhost>
date:      Wed Nov 13 11:53:29 2019 +0000

description:
Fix reload of lighttpd config files

lighttpd uses the USR1 signal to reload config files as pointed out in
PR pkg/54295. Tested and it works.
Closes PR pkg/54295 .

diffstat:

 www/lighttpd/files/lighttpd.sh |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r fad916d23edd -r f71636c63883 www/lighttpd/files/lighttpd.sh
--- a/www/lighttpd/files/lighttpd.sh    Wed Nov 13 11:49:18 2019 +0000
+++ b/www/lighttpd/files/lighttpd.sh    Wed Nov 13 11:53:29 2019 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: lighttpd.sh,v 1.2 2016/03/18 11:37:22 bsiegert Exp $
+# $NetBSD: lighttpd.sh,v 1.3 2019/11/13 11:53:29 nros Exp $
 #
 # PROVIDE: lighttpd
 # KEYWORD: chrootdir
@@ -14,6 +14,7 @@
 conf_file="@PKG_SYSCONFDIR@/${name}.conf"
 required_files="${conf_file}"
 extra_commands="reload"
+sig_reload="USR1"
 command_args="-f ${conf_file}"
 
 load_rc_config $name



Home | Main Index | Thread Index | Old Index