luci-app-nps: monitor uci configuration changes (#4784)

when uci configuration about nps has been changed, service doesn't
restart itself
This commit is contained in:
ElonH 2020-06-12 12:18:15 +08:00 committed by CN_SZTL
parent 24f85b15d7
commit af27d42aaf
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -62,9 +62,7 @@ start_service() {
fi
}
reload_service()
{
stop
start
service_triggers() {
procd_add_reload_trigger "nps"
}