diff options
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/ejabberd/files/ejabberd-3.initd | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/net-im/ejabberd/files/ejabberd-3.initd b/net-im/ejabberd/files/ejabberd-3.initd index a40d938a5783..2827aeb43d42 100644 --- a/net-im/ejabberd/files/ejabberd-3.initd +++ b/net-im/ejabberd/files/ejabberd-3.initd @@ -3,6 +3,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ +extra_started_commands="reload" + depend() { use dns need epmd net @@ -19,6 +21,12 @@ start() { eend $? } +reload() { + ebegin "Reloading ejabberd configuration" + /usr/sbin/ejabberdctl ${EJABBERDCTL_OPTS} reload_config + eend $? +} + stop() { ejabberdctl status >/dev/null 2>&1 if test $? = 3; then |