Commit Graph

39 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
Alexey Lebedeff fa75a4a0f4 Disable erlang break handler in rabbitmqctl
So rabbitmq operator will not be baffled by erlang break handler when he
tries to interrupt some long-running `rabbitmqctl` command by `Ctrl-C`.
2016-03-09 17:43:11 +03: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
Michael Klishin 7cb55202a0 (c) year 2015-05-24 04:19:23 +03: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 98d6ac5ffd Oops, silence. 2014-07-11 14:18:47 +01:00
Simon MacMullen 67ff462c80 Start a dummy node first to ensure epmd is running. 2014-07-07 13:50:52 +01:00
Simon MacMullen 2547743c58 Remove these that were merged by accident; we do distribution by hand now. 2014-07-04 14:48:43 +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 96c2d78b32 Use '-e' for all shell scripts. 2014-06-09 13:53:57 +01:00
Simon MacMullen 2f6b97a5df Update copyright for 2014 2014-03-17 17:25:24 +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 13389eb3fb manually merge 3c20079f0601 2012-05-21 14:41:57 +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
Matthew Sackman c8a8842af6 Correct all remaining copyright notices 2011-01-19 13:53:32 +00:00
Emile Joubert e839eb188f Move HOSTNAME and NODENAME to rabbitmq-env 2010-11-19 16:50:38 +00:00
Emile Joubert 17e620ac28 Remove OS-conditional and use hostname more conservatively 2010-11-19 16:34:58 +00:00
Emile Joubert db1b49406c Make scripts work on Solaris 2010-11-19 14:55:20 +00:00
Matthias Radestock a23aba3b2b cosmetic: remove trailing whitespace 2010-09-16 22:22:04 +01:00
Emile Joubert cb09a10071 Make nodename available to rabbitmq-env in startup scripts 2010-06-10 13:24:31 +01:00
Emile Joubert f634ec3769 Use hostnames in node names 2010-06-10 12:03:26 +01:00
David R. MacIver 9a58f7381d update copyright notices to say 2010 where appropriate 2010-02-09 11:07:10 +00:00
Marek Majkowski 1ec76ab881 rabbitmqctl now accepts -nodename 2009-09-04 17:45:48 +01:00
Paul Jones 890a21ca83 Renamed activate-plugins to rabbitmq-activate-plugins; changed scripts to use rabbitmq-env to source paths instead of embedding the logic themselves 2009-07-29 12:50:02 +01:00
Paul Jones 9398b1a941 Patched all scripts to be able to auto-detect their directory, even when symlinked 2009-07-29 09:42:51 +01:00
Hubert Plociniczak b8cc0c89bb Added RABBITMQ_CTL_ERL_ARGS into rabbitmqctl script 2009-03-24 01:49:22 +00:00
Tony Garnock-Jones 6184b7bfcb Update copyrights. 2008-12-09 15:57:36 +00:00
Matthias Radestock 22b241d435 remove cruft from rabbitmqctl 2008-11-24 22:48:48 +00:00
Tony Garnock-Jones 872b6320b9 Use dirname $0 consistently to find the ebin dir. 2008-07-29 15:33:44 +01:00
Tony Garnock-Jones 675869a277 Initial commit, from repo-rebase-20080703121916_default (e96543d904a2) 2008-07-03 13:35:11 +01:00