mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
lighttpd: lighttpd.init add trigger on acme.renew
github: closes #24217 Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
This commit is contained in:
committed by
Tianling Shen
parent
e8f4f3773e
commit
5564f0d60d
@@ -26,6 +26,7 @@ start_service() {
|
|||||||
validate_conf || exit 1
|
validate_conf || exit 1
|
||||||
|
|
||||||
procd_open_instance
|
procd_open_instance
|
||||||
|
procd_set_param reload_signal USR1
|
||||||
procd_set_param command $PROG -D -f /etc/lighttpd/lighttpd.conf
|
procd_set_param command $PROG -D -f /etc/lighttpd/lighttpd.conf
|
||||||
procd_close_instance
|
procd_close_instance
|
||||||
}
|
}
|
||||||
@@ -33,6 +34,7 @@ start_service() {
|
|||||||
service_triggers() {
|
service_triggers() {
|
||||||
procd_add_reload_interface_trigger loopback
|
procd_add_reload_interface_trigger loopback
|
||||||
procd_add_reload_interface_trigger lan
|
procd_add_reload_interface_trigger lan
|
||||||
|
procd_add_raw_trigger acme.renew 5000 /etc/init.d/lighttpd reload
|
||||||
}
|
}
|
||||||
|
|
||||||
reload_service() {
|
reload_service() {
|
||||||
|
|||||||
Reference in New Issue
Block a user