Comment 6 for bug 948993

Revision history for this message
Clint Byrum (clint-fewbar) wrote : Re: rabbitmq-2.7.1-0ubuntu1 lacks compatibility with plugin packages

Marc, the new debdiff looks mostly right. I'm a little concerned about this:

invoke-rc.d rabbitmq-server restart || true

I'd prefer to see

if !invoke-rc.d rabbitmq-server restart ; then
  RESTART_RESULT=$?
  if [ "$RESTART_RESULT"!= "100" ] ; then
    exit $RESTART_RESULT
  fi
fi

Because many of the other responses that invoke-rc.d might give are quite valid errors that the user may want to know about, such as failing to start rabbitmq again.