Commit Graph

30 Commits

Author SHA1 Message Date
Gerhard Lazu 5c239b0618 Modify new scripts to use /bin/sh
While at it, make them POSIX.1-2008 compliant (a.k.a fix all shellchecks)

Prefer parameter expansion and manipulation over command invocation:

    # OK-ish
    `dirname $0`

    # SPOT ON
    "${0%/*}"

Guard against empty ESCRIPT_DIR var
2017-01-17 18:09:35 +00:00
Daniil Fedotov b2b4215c71 Add escript folder to store build ctl escripts 2016-10-27 14:49:02 +01:00
Daniil Fedotov 2c6fb996a8 Integrate escripts from rabbitmq_cli on make 2016-10-25 17:29:12 +01:00
Jean-Sébastien Pédron c8aa445577 Disable erl_crash.dump in rabbitmqctl and rabbitmq-plugins
Crash dumps are disabled by default only: if the user set
$ERL_CRASH_DUMP_SECONDS, his setting is honored.
2015-12-14 11:54:38 +01:00
Chris Heng db4d7e8b0b Fix RABBITMQ_CTL_ERL_ARGS variable in rabbitmq-plugins 2015-11-26 16:33:53 +08:00
Michael Klishin 73f47630aa (c) year 2015-05-24 04:24:11 +03:00
Simon MacMullen 38e05cdfe0 stable to default 2015-01-29 13:04:12 +00:00
Alvaro Videla cc040e95d6 adds RABBITMQ_CTL_ERL_ARGS to rabbitmq-plugins 2015-01-28 14:03:17 +01:00
Simon MacMullen 3b5475471a First pass at having ctl and plugins not start epmd. This can cause problems though if we are contacting a remote node, or removing a cluster node offline. 2014-10-23 12:55:48 +01:00
Simon MacMullen 1780ff7927 Add RABBITMQ_USE_LONGNAME. Based on a patch from Marcos Diez but with fixes for the new way rabbitmqctl starts distribution, refactoring of common stuff into rabbitmq-env, not trimming the hostname, etc. 2014-10-17 14:40:39 +01:00
Simon MacMullen 46bbaddcce Port script Mnesia dir changes from bug26192. Add rabbitmqctl force_boot. 2014-07-03 12:08:05 +01:00
Simon MacMullen a1b510bad7 Merge in default 2014-06-09 16:28:45 +01:00
Simon MacMullen 96c2d78b32 Use '-e' for all shell scripts. 2014-06-09 13:53:57 +01:00
Tim Watson 7b22230f14 Merge default into bug24926 2014-03-18 20:25:11 +00:00
Simon MacMullen 2f6b97a5df Update copyright for 2014 2014-03-17 17:25:24 +00:00
Tim Watson e94fa2b9b5 Allow for runtime disabling of plugins 2013-11-05 15:10:36 +00:00
Simon MacMullen cb7027982a s/VMware/GoPivotal/g 2013-07-01 10:49:14 +01:00
Simon MacMullen b7ee67079a Merge bug25271 2013-03-11 16:15:03 +00:00
Emile Joubert b629976a61 Update copyright 2013 2013-01-23 12:03:02 +00:00
Alvaro Videla 99589569df specifies boot file for erl calls 2012-11-09 10:56:47 +00:00
Alvaro Videla 91e3be324c adds the erlang base dir before calling erl 2012-11-07 16:17:50 +00:00
Tim Watson 9faa9b7a56 split rabbit_plugins into client and server side modules 2012-05-16 12:02:03 +01:00
Simon MacMullen c5199726b4 Merge bug24706. 2012-02-06 12:36:08 +00:00
Emile Joubert e9559c13ba Update copyright 2012 2012-02-02 13:41:23 +00:00
Steve Powell 39c55dbd9e Move non-empty defaults to rabbitmq-env
- rationalise server-settings
- correctly override PLUGINS_DIR
- allow use of PID_FILE override
- simplify NODE_IP_ADDRESS and NODE_PORT setting
2012-01-04 15:57:19 +00:00
Alexandru Scvortov bb3a01337a :s/PLUGINS_DIST_DIR/PLUGINS_DIR
Only in rabbitmq-server, because that variable in rabbitmq-public-umbrella has
a different use.
2011-09-29 18:46:25 +01:00
Alexandru Scvortov b40e1084ef use a specialized wrapper for rabbitmq-plugins
All the scripts assume that they are run as ${RABBITMQ_HOME}/bin/script_name
and use this to extract RABBITMQ_HOME, so we do need a minimal wrapper for
rabbitmq-plugins.

I don't know if the 'cd /var/lib/rabbitmq' is necessary; it probably isn't for
rabbitmq-plugins, but might as well leave it in.
2011-09-26 11:33:40 +01:00
Alexandru Scvortov 8c225dffff plugins-dist -> plugins 2011-09-23 15:50:02 +01:00
Alexandru Scvortov 1f72ea46b0 don't use the plugins directory 2011-09-22 16:18:32 +01:00
Alexandru Scvortov 19fef5cde1 rename rabbitmq-plugin to rabbitmq-plugins 2011-09-22 14:07:30 +01:00