mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
usp-js: fix publishing of USP agent endpoint ID
Also remove triggering on "network" and "mosquitto" configuration change as it is not necessary re-publish on "network" change and re-publishing on "mosquitto" change does not work anyway as it is not possible to guarantee that "uspjs" is reloaded after "mosquitto" has already been reloaded and is up and running.
This commit is contained in:
parent
13c0240e55
commit
176bbf7566
1 changed files with 1 additions and 6 deletions
|
|
@ -60,14 +60,9 @@ publish_endpoint()
|
|||
}
|
||||
|
||||
start_service() {
|
||||
procd_open_instance uspjs
|
||||
procd_close_instance
|
||||
}
|
||||
|
||||
reload_service() {
|
||||
publish_endpoint
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
procd_add_reload_trigger "obuspa" "network" "mosquitto"
|
||||
procd_add_reload_trigger "obuspa"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue