<div dir="ltr">Yeah, that's what I'm getting at. Even "start on first install" has problems in that there may be other preconditions yet to be set, though it is less problematic than automatically restarting.<div>
<br></div><div>For now, I've changed our Salt states to freeze to a specific version so that we won't be surprised by a process restart.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 20, 2014 at 6:38 PM, Gavin M. Roy <span dir="ltr"><<a href="mailto:gavinmroy@gmail.com" target="_blank">gavinmroy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
I believe he’s saying that when you install the deb (or upgrade it) it automatically starts or restarts rabbitmq-server, causing less than desirable behavior.</div><div style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">
<br></div><div style="color:black">From: <span style="color:black">Simon MacMullen</span> <a href="mailto:simon@rabbitmq.com" target="_blank">simon@rabbitmq.com</a><br>Reply: <span style="color:black">Discussions about RabbitMQ</span> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
Date: <span style="color:black">June 20, 2014 at 1:07:33 PM</span><br>To: <span style="color:black">Discussions about RabbitMQ</span> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>, <span style="color:black">Aaron Westendorf</span> <a href="mailto:aaron@agoragames.com" target="_blank">aaron@agoragames.com</a><br>
Subject: <span style="color:black"> Re: [rabbitmq-discuss] PPA debs restart rabbit <br></span></div><br> <blockquote type="cite"><span><div><div></div><div><div><div class="h5">On 17/06/14 15:54, Aaron Westendorf wrote:
<br>> We're using the PPA for rabbit but the current debian files are not
<br>> suitable for production deployments because they stop and restart the
<br>> process. I understand the desire to start the process if it was not
<br>> already running, but embedding the restart logic in the deb means that
<br>> users have no control over the process. As it is very common to use the
<br>> PPA within the context of a configuration management system (Salt, Chef,
<br>> etc), it would be best to leave that decision up to the user.
<br>
<br>What do you mean by "restart logic"?
<br>
<br>I could see the point in adding some START_THE_SERVER variable to  
<br>/etc/default/rabbitmq-server, would that help?
<br>
<br>Cheers, Simon
<br>
<br>--  
<br>Simon MacMullen
<br>RabbitMQ, Pivotal
<br></div></div>_______________________________________________
<br>rabbitmq-discuss mailing list
<br><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a>
<br><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a>
<br></div></div></span></blockquote></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="font-family:arial;font-size:small">Aaron Westendorf</span><br style="font-family:arial;font-size:small">
<span style="font-family:arial;font-size:small">Lead Engineer | A</span><span style="font-family:arial;font-size:small">gora Games</span><br style="font-family:arial;font-size:small"><a href="mailto:aaron@agoragames.com" style="color:rgb(17,85,204);font-family:arial;font-size:small" target="_blank">aaron@agoragames.com</a><span style="font-family:arial;font-size:small"> </span><br style="font-family:arial;font-size:small">
</div>
</div>