projects
/
oweals
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14447cd
)
enable restart on config change
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 24 Jun 2012 17:02:54 +0000
(19:02 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 24 Jun 2012 17:02:54 +0000
(19:02 +0200)
instance.c
patch
|
blob
|
history
diff --git
a/instance.c
b/instance.c
index 8c3af4b45c0016b2fe2df07c0a8f65a85343c418..a1604f679691ec15d4177e1bd2a9a858be22a7ec 100644
(file)
--- a/
instance.c
+++ b/
instance.c
@@
-115,6
+115,7
@@
instance_update(struct service_instance *in, struct service_instance *in_new)
if (!changed)
return false;
+ in->restart = true;
instance_stop(in, true);
instance_config_move(in, in_new);
return true;