aboutsummaryrefslogtreecommitdiff
path: root/ejabberdctl.template (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use /bin/sh as the explicit shell when using su in ejabberdctl.Randy Barlow2017-12-101-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 shellsHolger Weiss2017-11-071-2/+2
|
* ejabberdctl: Fix paths for release buildHolger Weiss2017-11-061-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 Romain2017-09-271-50/+49
|
* Merge pull request #1996 from nosnilmot/ejabberdctl-quote-peerChristophe Romain2017-09-181-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 Tomlinson2017-09-111-1/+1
| | | | | | | | interpreted as arithmetic
* | Fix iexdebug and iexlive commands (#1981)Christophe Romain2017-09-181-1/+1
|/
* fix typoMathias Ertl2017-08-081-1/+1
|
* fix FIREWALL_WINDOW optionMathias Ertl2017-08-041-3/+1
|
* Fix errors when running ejabberdctl as rootChristophe Romain2017-07-201-22/+30
|
* Fix ERLANG_OPTS when setting INET_DIST_INTERFACEAshish SHUKLA2017-07-151-1/+1
|
* Fix ERLANG_OPTS end lines when setting FIREWALL_WINDOW (#1856)Badlop2017-07-121-3/+3
|
* Quote paths to allow spaces (#1789)Christophe Romain2017-06-281-6/+6
|
* Fix refactor bug on wait_statusChristophe Romain2017-06-131-1/+2
|
* fixing iex bug with proper --name arguementIvy Rogatko2017-06-071-1/+1
|
* Add missing space separator on EJABBERD_OPTSChristophe Romain2017-06-061-4/+4
|
* Fix EJABBERD_OPTSChristophe Romain2017-06-021-4/+4
|
* Respect INSTALLUSER when creating spool directoryChristophe Romain2017-06-011-1/+1
|
* Create spool directory at start if not existsChristophe Romain2017-06-011-0/+1
|
* Remove use of getopt to support simpler shellsChristophe Romain2017-06-011-3/+2
|
* Improve ejabberdctl parameters parsingChristophe Romain2017-06-011-16/+13
|
* Minor ejabberdctl improvementsChristophe Romain2017-06-011-33/+14
|
* Refactor ejabberdctlChristophe Romain2017-05-311-255/+143
|
* Remove bashismes from ejabberdctlJohan Oudinet2016-11-211-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 d8bb5d9cChristophe Romain2016-06-231-1/+1
|
* Give more time to stop and kill epmd (#882)Christophe Romain2016-06-171-1/+1
|
* ejabberdctl: Fix path to epmdHolger Weiss2016-05-011-1/+1
|
* Force ERL_PATH for elixirChristophe Romain2016-04-271-2/+2
|
* SCRIPT_DIR needed for releaseChristophe Romain2016-04-251-0/+1
|
* Remove useless variable and quote EPMD and SPOOL_DIRChristophe Romain2016-04-251-17/+7
|
* Fix node ping commandChristophe Romain2016-04-211-3/+4
|
* Use UUID for ctl node name (#1021)Christophe Romain2016-04-211-81/+25
|
* Specify lacking nodename (thanks to hamano)(#1020)Christophe Romain2016-03-241-1/+1
|
* Extend scope of ejabberdctl pingChristophe Romain2016-03-181-1/+8
|
* Escape quoting node name for ejabberdctl pingChristophe Romain2016-03-181-1/+1
|
* Fix escaping of argument in iexlive and iexdebugPaweł Chmielowski2016-03-091-7/+17
|
* Another fix for \n in ejabberdctl argumentsPaweł Chmielowski2016-02-151-3/+3
|
* Allow to pass \n in argument to ejabberdctlPaweł Chmielowski2016-02-121-1/+5
|
* Merge remote-tracking branch 'processone/pr/907'Holger Weiss2016-01-171-1/+0
|\ | | | | | | | | * processone/pr/907: don't escape ERL_OPTIONS
| * don't escape ERL_OPTIONSHAMANO Tsukasa2016-01-151-1/+0
| |
* | Improve escaping of arguments passed to ejabberdctlPaweł Chmielowski2016-01-041-69/+81
| | | | | | | | This fixes issue #804
* | ejabberdctl: Call erl without -pa argumentHolger Weiss2016-01-031-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 commandPaweł Chmielowski2015-12-081-1/+2
| |
* | Merge branch 'cluster_fix'Christophe Romain2015-11-201-12/+0
|\ \
| * | Integrate join/leave cluster as ejabberd commandChristophe Romain2015-11-201-12/+0
| | |
* | | feat(ejabberdctl): Foreground option for dockerArno B2015-10-291-5/+22
|/ / | | | | Docker needs services to run in foreground.
* / ejabberdctl: export CONTRIB_MODULES_CONF_DIRHolger Weiss2015-10-261-0/+1
|/
* Use OTP directory structure for 'make install'Paweł Chmielowski2015-10-151-11/+2
|
* Remove obsolete sasl initChristophe Romain2015-10-121-2/+0
|
* Allow root to run join_cluster and leave_clusterJohan Oudinet2015-09-221-2/+2
| | | | | | | Prefix the call to joincluster and leavecluster in ejabberdctl by $EXEC_CMD. Avoid using sh -c in these scripts. Should fix #676.