Ronen <narkisr at gmail.com> writes:
David did you mean to use:

"setsid sh -c 'echo $$ >$PIDFILE ; exec rabbitmq-server </dev/null >
$RABBITMQ_LOG_BASE/rabbitmq_startup_log 2>&1' &
rabbitmqctl wait >/dev/null 2>&1"

As the monit command entry or to use it within the init file itself?
You'll need to incorporate that into a script that monit runs. It
should be easy to incorporate into the rabbitmq-server init script,
which already contains commands very like those.

--
David Wragg
Staff Engineer, RabbitMQ
VMware, Inc.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 6 of 7 | next ›
Discussion Overview
grouprabbitmq-discuss @
categoriesrabbitmq
postedJul 5, '11 at 12:33p
activeJul 5, '11 at 2:51p
posts7
users3
websiterabbitmq.com
irc#rabbitmq

People

Translate

site design / logo © 2022 Grokbase