mirror of
https://github.com/openwrt/packages.git
synced 2026-12-03 07:05: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:
1 parent
e8f4f3773e
commit
5564f0d60d
1 file changed
+2
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user