Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use /bin/sh as the explicit shell when using su in ejabberdctl. | Randy Barlow | 2017-12-10 | 1 | -1/+1 |
| | | | | | | | | | | | Some distributions (such as Fedora) use /sbin/nologin as the login shell for the ejabberd user. The newer version of ejabberdctl uses su to perform the command if the INSTALLUSER invokes the script. This commit adjusts the call to su so that it passes /bin/sh as the shell to use so that it will work correctly when the ejabberd user's shell is set to nologin. Signed-off-by: Randy Barlow <randy@electronsweatshop.com> | ||||
* | ejabberdctl: Fix 'read' syntax for non-bash shells | Holger Weiss | 2017-11-07 | 1 | -2/+2 |
| | |||||
* | ejabberdctl: Fix paths for release build | Holger Weiss | 2017-11-06 | 1 | -0/+1 |
| | | | | | The ejabberdctl version generated by "make rel" relies on the SCRIPT_DIR variable which got lost in commit cbe6553baa6f. | ||||
* | harden ejabberdctl (#1977) | Christophe Romain | 2017-09-27 | 1 | -50/+49 |
| | |||||
* | Merge pull request #1996 from nosnilmot/ejabberdctl-quote-peer | Christophe Romain | 2017-09-18 | 1 | -1/+1 |
|\ | | | | | Quote $PEER in ping command to avoid hostnames containing "-" being interpreted as arithmetic | ||||
| * | Quote $PEER in ping command to avoid hostnames containing "-" being ↵ | Stu Tomlinson | 2017-09-11 | 1 | -1/+1 |
| | | | | | | | | interpreted as arithmetic | ||||
* | | Fix iexdebug and iexlive commands (#1981) | Christophe Romain | 2017-09-18 | 1 | -1/+1 |
|/ | |||||
* | fix typo | Mathias Ertl | 2017-08-08 | 1 | -1/+1 |
| | |||||
* | fix FIREWALL_WINDOW option | Mathias Ertl | 2017-08-04 | 1 | -3/+1 |
| | |||||
* | Fix errors when running ejabberdctl as root | Christophe Romain | 2017-07-20 | 1 | -22/+30 |
| | |||||
* | Fix ERLANG_OPTS when setting INET_DIST_INTERFACE | Ashish SHUKLA | 2017-07-15 | 1 | -1/+1 |
| | |||||
* | Fix ERLANG_OPTS end lines when setting FIREWALL_WINDOW (#1856) | Badlop | 2017-07-12 | 1 | -3/+3 |
| | |||||
* | Quote paths to allow spaces (#1789) | Christophe Romain | 2017-06-28 | 1 | -6/+6 |
| | |||||
* | Fix refactor bug on wait_status | Christophe Romain | 2017-06-13 | 1 | -1/+2 |
| | |||||
* | fixing iex bug with proper --name arguement | Ivy Rogatko | 2017-06-07 | 1 | -1/+1 |
| | |||||
* | Add missing space separator on EJABBERD_OPTS | Christophe Romain | 2017-06-06 | 1 | -4/+4 |
| | |||||
* | Fix EJABBERD_OPTS | Christophe Romain | 2017-06-02 | 1 | -4/+4 |
| | |||||
* | Respect INSTALLUSER when creating spool directory | Christophe Romain | 2017-06-01 | 1 | -1/+1 |
| | |||||
* | Create spool directory at start if not exists | Christophe Romain | 2017-06-01 | 1 | -0/+1 |
| | |||||
* | Remove use of getopt to support simpler shells | Christophe Romain | 2017-06-01 | 1 | -3/+2 |
| | |||||
* | Improve ejabberdctl parameters parsing | Christophe Romain | 2017-06-01 | 1 | -16/+13 |
| | |||||
* | Minor ejabberdctl improvements | Christophe Romain | 2017-06-01 | 1 | -33/+14 |
| | |||||
* | Refactor ejabberdctl | Christophe Romain | 2017-05-31 | 1 | -255/+143 |
| | |||||
* | Remove bashismes from ejabberdctl | Johan Oudinet | 2016-11-21 | 1 | -97/+94 |
| | | | | | | | | | | | | | | To avoid unecessary extra quoting, do not call commands with sh -c '' and use the -- option from su to supply arguments. Parse command line parameters is a bit tricky as the previous behavior allows to mix options to ejabberdctl with unknown options given to the next script (usually, the ctl). This is solved by relying on the fact that for loop saves its argument, so we can flush its content with set -- and re-add unknown options with set -- "$@" "$arg". Finally, remove unecessary quotes in mnesia options and in the ping command. | ||||
* | Fix typo from d8bb5d9c | Christophe Romain | 2016-06-23 | 1 | -1/+1 |
| | |||||
* | Give more time to stop and kill epmd (#882) | Christophe Romain | 2016-06-17 | 1 | -1/+1 |
| | |||||
* | ejabberdctl: Fix path to epmd | Holger Weiss | 2016-05-01 | 1 | -1/+1 |
| | |||||
* | Force ERL_PATH for elixir | Christophe Romain | 2016-04-27 | 1 | -2/+2 |
| | |||||
* | SCRIPT_DIR needed for release | Christophe Romain | 2016-04-25 | 1 | -0/+1 |
| | |||||
* | Remove useless variable and quote EPMD and SPOOL_DIR | Christophe Romain | 2016-04-25 | 1 | -17/+7 |
| | |||||
* | Fix node ping command | Christophe Romain | 2016-04-21 | 1 | -3/+4 |
| | |||||
* | Use UUID for ctl node name (#1021) | Christophe Romain | 2016-04-21 | 1 | -81/+25 |
| | |||||
* | Specify lacking nodename (thanks to hamano)(#1020) | Christophe Romain | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | Extend scope of ejabberdctl ping | Christophe Romain | 2016-03-18 | 1 | -1/+8 |
| | |||||
* | Escape quoting node name for ejabberdctl ping | Christophe Romain | 2016-03-18 | 1 | -1/+1 |
| | |||||
* | Fix escaping of argument in iexlive and iexdebug | Paweł Chmielowski | 2016-03-09 | 1 | -7/+17 |
| | |||||
* | Another fix for \n in ejabberdctl arguments | Paweł Chmielowski | 2016-02-15 | 1 | -3/+3 |
| | |||||
* | Allow to pass \n in argument to ejabberdctl | Paweł Chmielowski | 2016-02-12 | 1 | -1/+5 |
| | |||||
* | Merge remote-tracking branch 'processone/pr/907' | Holger Weiss | 2016-01-17 | 1 | -1/+0 |
|\ | | | | | | | | | * processone/pr/907: don't escape ERL_OPTIONS | ||||
| * | don't escape ERL_OPTIONS | HAMANO Tsukasa | 2016-01-15 | 1 | -1/+0 |
| | | |||||
* | | Improve escaping of arguments passed to ejabberdctl | Paweł Chmielowski | 2016-01-04 | 1 | -69/+81 |
| | | | | | | | | This fixes issue #804 | ||||
* | | ejabberdctl: Call erl without -pa argument | Holger Weiss | 2016-01-03 | 1 | -6/+0 |
| | | | | | | | | | | The path to ejabberd's ebin directories is now specified by setting the ERL_LIBS variable. | ||||
* | | Add ability to disable timeout for ejabberdctl command | Paweł Chmielowski | 2015-12-08 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'cluster_fix' | Christophe Romain | 2015-11-20 | 1 | -12/+0 |
|\ \ | |||||
| * | | Integrate join/leave cluster as ejabberd command | Christophe Romain | 2015-11-20 | 1 | -12/+0 |
| | | | |||||
* | | | feat(ejabberdctl): Foreground option for docker | Arno B | 2015-10-29 | 1 | -5/+22 |
|/ / | | | | | Docker needs services to run in foreground. | ||||
* / | ejabberdctl: export CONTRIB_MODULES_CONF_DIR | Holger Weiss | 2015-10-26 | 1 | -0/+1 |
|/ | |||||
* | Use OTP directory structure for 'make install' | Paweł Chmielowski | 2015-10-15 | 1 | -11/+2 |
| | |||||
* | Remove obsolete sasl init | Christophe Romain | 2015-10-12 | 1 | -2/+0 |
| | |||||
* | Allow root to run join_cluster and leave_cluster | Johan Oudinet | 2015-09-22 | 1 | -2/+2 |
| | | | | | | | Prefix the call to joincluster and leavecluster in ejabberdctl by $EXEC_CMD. Avoid using sh -c in these scripts. Should fix #676. |