uhttpd: restart daemon if certificate has changed
authorSylvain Monné <sylvain@monne.contact>
Mon, 5 Aug 2024 13:40:12 +0000 (15:40 +0200)
committerRobert Marko <robimarko@gmail.com>
Mon, 19 Aug 2024 16:46:08 +0000 (18:46 +0200)
commit88186c85f9d4f73ebb9570101cd3e9e5382dbd99
tree344651b58a3c05048254142ebad08c2dfc0378d9
parent7abc89dabee21fc269017224900aca23a71930da
uhttpd: restart daemon if certificate has changed

Fixes #16075

When the SSL certificate used by uhttpd has been changed, calling
`/etc/init.d/uhttpd reload` will now have the effect of restarting the
daemon to make the change effective.

Signed-off-by: Sylvain Monné <sylvain@monne.contact>
Link: https://github.com/openwrt/openwrt/pull/16076
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/services/uhttpd/files/uhttpd.init