From a396e6d88946a7009d41315bdeea54da42b27d39 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 27 Aug 2014 10:55:00 +0200 Subject: [PATCH] add an event for "service.update" triggers Signed-off-by: John Crispin --- service/service.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/service/service.c b/service/service.c index bde2165..a0fa2d5 100644 --- a/service/service.c +++ b/service/service.c @@ -66,6 +66,8 @@ service_instance_update(struct vlist_tree *tree, struct vlist_node *node_new, DEBUG(2, "Create instance %s::%s\n", in_n->srv->name, in_n->name); instance_start(in_n); } + blob_buf_init(&b, 0); + trigger_event("instance.update", b.head); } static struct service * -- 2.25.1