Excerpts from Chris Jones's message of 2014-06-26 12:37:55 -0700: > On 26 Jun 2014, at 20:20, Clint Byrum <cl...@fewbar.com> wrote: > > we should just have a file in /var/run that > > > Whenever a new version is detected, os-collect-config would set a value > > in the environment that informs the command "this is a new version of > > I like the idea of exposing the fact that a new config version has arrived, > to o-r-c scripts, but... > > > if !service X status ; then service X start > > ... I always worry when I see suggestions to have periodic state-assertion > tasks take care of starting services that are not running, but in this case I > will try to calm my nerves with the knowledge that service(1) is almost > certainly talking to a modern init which is perfectly capable of supervising > daemons :D
Let's not focus on the else, but the primary condition which is "If we changed, restart". The point is, if we didn't change, try not to be disruptive. _______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev