projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f4f37
)
lighttpd: lighttpd.init add trigger on acme.renew
author
Glenn Strauss
<gstrauss@gluelogic.com>
Sat, 11 Jan 2025 04:04:13 +0000
(23:04 -0500)
committer
Tianling Shen
<cnsztl@gmail.com>
Sun, 12 Jan 2025 12:05:01 +0000
(20:05 +0800)
github: closes #24217
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
net/lighttpd/files/lighttpd.init
patch
|
blob
|
history
diff --git
a/net/lighttpd/files/lighttpd.init
b/net/lighttpd/files/lighttpd.init
index ffaae34a21e0aecc2d73c2c952fee0cb585efca8..33443005eef00ddd6ed54900b8af33fc7bfc1a74 100644
(file)
--- a/
net/lighttpd/files/lighttpd.init
+++ b/
net/lighttpd/files/lighttpd.init
@@
-26,6
+26,7
@@
start_service() {
validate_conf || exit 1
procd_open_instance
+ procd_set_param reload_signal USR1
procd_set_param command $PROG -D -f /etc/lighttpd/lighttpd.conf
procd_close_instance
}
@@
-33,6
+34,7
@@
start_service() {
service_triggers() {
procd_add_reload_interface_trigger loopback
procd_add_reload_interface_trigger lan
+ procd_add_raw_trigger acme.renew 5000 /etc/init.d/lighttpd reload
}
reload_service() {