Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 495090 - net-misc/rabbitmq-server - init script (and systemd service?) should call 'rabbitmqctl stop <PID file path>'
Summary: net-misc/rabbitmq-server - init script (and systemd service?) should call 'ra...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-23 07:54 UTC by Evgeniy
Modified: 2013-12-24 15:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeniy 2013-12-23 07:54:10 UTC
restart daemon does not always work correctly

For proper operation of the script "/usr/sbin/rabbitmqctl stop" must be passed pid file

Example 
/usr/sbin/rabbitmqctl stop /var/run/rabbitmq.pid

See docs
https://www.rabbitmq.com/man/rabbitmqctl.1.man.html#stop
Comment 1 Ultrabug gentoo-dev 2013-12-24 15:10:12 UTC
Hi mate,

Thanks for reporting this, I've fixed it in tree while bumping rabbitMQ to 3.2.2.

Let it be said here that I'm not entirely satisfied with the current init script not supporting a proper /run installation and conf.d. I'll probably change this in the next important release of rabbitMQ.

+*rabbitmq-server-3.2.2 (24 Dec 2013)
+
+  24 Dec 2013; Ultrabug <ultrabug@gentoo.org> +rabbitmq-server-3.2.2.ebuild,
+  files/rabbitmq-server.init-r3:
+  Version bump, enhance init script wrt #495090 thx to Evgeniy
+