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 GitHub
parent 299da0ae6c
commit ad0a71dadc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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