Skip to content

Commit

Permalink
lighttpd: lighttpd.init add trigger on acme.renew
Browse files Browse the repository at this point in the history
github: closes #24217
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
  • Loading branch information
gstrauss authored and 1715173329 committed Jan 12, 2025
1 parent e8f4f37 commit 5564f0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/lighttpd/files/lighttpd.init
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ 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
}

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() {
Expand Down

0 comments on commit 5564f0d

Please sign in to comment.