procd: copy the respawn property of new instance
authorYashavanth Chowrikoppalu <[email protected]>
Wed, 17 Apr 2019 13:21:18 +0000 (15:21 +0200)
committerHans Dedecker <[email protected]>
Thu, 18 Apr 2019 21:01:35 +0000 (23:01 +0200)
commita30a8fdced45b79bae12662caf68ffb8597858b3
tree6742fd291cf3c17188495cb121a37cee2ae24c25
parentbaaf38c5e540b23ba086d94743de860b60c37161
procd: copy the respawn property of new instance

On updating an existing instance, the respawn property is reset
in instance_stop(). Subsequent instance_update() call does not copy
the respawn property from new instance in instance_config_move(). As
a result, the respawning does not happen, if the process is killed
externally.

Signed-off-by: Yashavanth Chowrikoppalu <[email protected]>
service/instance.c