def start(self): env = { 'RABBITMQ_PID_FILE': '/var/run/rabbitmq/pid', 'RABBITMQ_MNESIA_BASE': '/var/lib/rabbitmq/mnesia' } run_detached(RABBITMQ_SERVER, args=['-detached'], env=env) initdv2.wait_sock(self.socks[0])
def start(self): hostname = RABBIT_HOSTNAME_TPL % __node__['server_index'] nodename = NODE_HOSTNAME_TPL % hostname env = {'RABBITMQ_PID_FILE': '/var/run/rabbitmq/pid', 'RABBITMQ_MNESIA_BASE': '/var/lib/rabbitmq/mnesia', 'RABBITMQ_NODENAME': nodename} run_detached(RABBITMQ_SERVER, args=['-detached'], env=env) initdv2.wait_sock(self.socks[0])
def start(self): log.debug('Starting RabbitMQ service') hostname = RABBIT_HOSTNAME_TPL % __node__['server_index'] nodename = NODE_HOSTNAME_TPL % hostname env = { 'RABBITMQ_PID_FILE': '/var/run/rabbitmq/pid', 'RABBITMQ_MNESIA_BASE': '/var/lib/rabbitmq/mnesia', 'RABBITMQ_NODENAME': nodename } run_detached(__rabbitmq__['rabbitmq-server'], args=['-detached'], env=env) initdv2.wait_sock(self.socks[0])
def start(self): env = {'RABBITMQ_PID_FILE': '/var/run/rabbitmq/pid', 'RABBITMQ_MNESIA_BASE': '/var/lib/rabbitmq/mnesia'} run_detached(RABBITMQ_SERVER, args=['-detached'], env=env) initdv2.wait_sock(self.socks[0])