patch-ejabberdctl_template 657 B

12345678910111213141516171819
  1. Index: ejabberdctl.template
  2. --- ejabberdctl.template.orig
  3. +++ ejabberdctl.template
  4. @@ -1,4 +1,4 @@
  5. -#!/bin/sh
  6. +#!/usr/local/bin/bash
  7. # define default configuration
  8. POLL=true
  9. @@ -57,7 +57,7 @@ done
  10. # define ejabberd variables if not already defined from the command line
  11. : "${ETC_DIR:="{{sysconfdir}}/ejabberd"}"
  12. : "${LOGS_DIR:="{{localstatedir}}/log/ejabberd"}"
  13. -: "${SPOOL_DIR:="{{localstatedir}}/lib/ejabberd"}"
  14. +: "${SPOOL_DIR:="{{localstatedir}}/db/ejabberd"}"
  15. : "${EJABBERD_CONFIG_PATH:="$ETC_DIR/ejabberd.yml"}"
  16. : "${EJABBERDCTL_CONFIG_PATH:="$ETC_DIR/ejabberdctl.cfg"}"
  17. # Allows passing extra Erlang command-line arguments in vm.args file