[Lunar-commits] <moonbase-other> rabbitmq-server: Bumped to 2.8.4. Added systemd unit file.

Stefan Wold ratler at lunar-linux.org
Thu Aug 2 18:55:57 CEST 2012


commit 082e49921eb4b9164a27396cc127b65b38c6b3e7
Author: Stefan Wold <ratler at lunar-linux.org>
Date: Thu, 02 Aug 2012 09:55:57 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/082e49921eb4b9164a27396cc127b65b38c6b3e7

rabbitmq-server: Bumped to 2.8.4. Added systemd unit file.

- Changed logrotate script to use rabbitmqctl rather than the old init script

NOTE: 2.8.5 tarball seems broken, holding that bump for now.
---
  net/rabbitmq-server/BUILD                                    +1/-1     
  net/rabbitmq-server/DEPENDS                                  +1/-0     
  net/rabbitmq-server/DETAILS                                  +3/-3     
  net/rabbitmq-server/logrotate.d/rabbitmq-server              +1/-1     
  net/rabbitmq-server/systemd.d/rabbitmq-server.service        +15/-0    
  5 files changed, 21 insertions (+), 5 deletions (-)

--- a/net/rabbitmq-server/BUILD
+++ b/net/rabbitmq-server/BUILD
@@ -1,6 +1,6 @@
 (
   add_priv_user rabbitmq:rabbitmq -d /var/lib/rabbitmq &&
-  make &&
+  make all docs_all &&
   prepare_install &&
   make install TARGET_DIR=/usr/lib/rabbitmq/lib/rabbitmq_server-${VERSION} \
                SBIN_DIR=/usr/lib/rabbitmq/bin \
--- a/net/rabbitmq-server/DEPENDS
+++ b/net/rabbitmq-server/DEPENDS
@@ -3,3 +3,4 @@ depends Python
 depends xmlto
 depends libxslt
 depends logrotate
+depends simplejson
--- a/net/rabbitmq-server/DETAILS
+++ b/net/rabbitmq-server/DETAILS
@@ -1,16 +1,16 @@
           MODULE=rabbitmq-server
-         VERSION=2.8.2
+         VERSION=2.8.4
           SOURCE=${MODULE}-${VERSION}.tar.gz
          SOURCE2=rabbitmq-script-wrapper-0.1
       SOURCE_URL=http://www.rabbitmq.com/releases/rabbitmq-server/v${VERSION}
      SOURCE2_URL=$PATCH_URL
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
-      SOURCE_VFY=sha256:f8fe9a5d9f9cb0e301f89e26a259aa57c8731e3210d7b8b364ebb5c29f5f6796
+      SOURCE_VFY=sha256:41b8d3d162a3a3ad3fd7de06c5b8d5efefc2623abff4ce2b6603222512cb05df
      SOURCE2_VFY=sha256:ec31350a636347cef2e3aab097c6b483f20ca3b03cf2c21d08f1179a156cefe5
         WEB_SITE="http://www.rabbitmq.com/"
       MAINTAINER=ratler at lunar-linux.org
          ENTERED=20100919
-         UPDATED=20120616
+         UPDATED=20120802
            SHORT="AMQP, the emerging standard for high performance enterprise messaging"
 cat <<EOF
 RabbitMQ is an implementation of AMQP, the emerging standard for high
--- a/net/rabbitmq-server/logrotate.d/rabbitmq-server
+++ b/net/rabbitmq-server/logrotate.d/rabbitmq-server
@@ -7,6 +7,6 @@
         notifempty
         sharedscripts
         postrotate
-            /sbin/service rabbitmq-server rotate_logs > /dev/null
+            /usr/sbin/rabbitmqctl rotate_logs &> /dev/null
         endscript
 }
--- /dev/null
+++ b/net/rabbitmq-server/systemd.d/rabbitmq-server.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=RabbitMQ Messaging Server
+After=network.target
+
+[Service]
+Type=simple
+StandardOutput=syslog
+StandardError=syslog
+SyslogIdentifier=rabbitmq
+ExecStart=/usr/sbin/rabbitmq-server
+ExecStop=/usr/sbin/rabbitmqctl stop
+Restart=always
+
+[Install]
+WantedBy=multi-user.target




More information about the Lunar-commits mailing list