TT#50752 services: Execute the new policy-rc.d deferred action queue

We will gather the actions from within policy-rc.d and then execute all
of them in a single batch.

This will make sure any required restart or reload is performed even if
there has been no template file changes.

Change-Id: I6458936860a86ddb10cd738a8f2770c109d9ed37
changes/83/26583/5
Guillem Jover 8 years ago committed by Alexander Lutay
parent 6f14c69c0b
commit b9e02ae735

@ -88,8 +88,8 @@ execute() {
done < "${SORTED_LIST}"
log_info "Executing enqueued services actions"
ngcp-service queue-show
ngcp-service queue-run
ngcp-service --queue=default,policy-rc.d queue-show
ngcp-service --queue=default,policy-rc.d queue-run
}
services_sync_state() {

Loading…
Cancel
Save