mirror of
https://github.com/processone/docker-ejabberd
synced 2024-11-18 09:25:29 +00:00
13 lines
196 B
Plaintext
13 lines
196 B
Plaintext
|
#!/bin/sh
|
||
|
set -e
|
||
|
|
||
|
ROOTDIR=/home/ejabberd
|
||
|
BINDIR=$ROOTDIR/bin
|
||
|
EMU=beam
|
||
|
PROGNAME=`echo $0 | sed 's/.*\\///'`
|
||
|
export EMU
|
||
|
export ROOTDIR
|
||
|
export BINDIR
|
||
|
export PROGNAME
|
||
|
exec "$BINDIR/erlexec" ${1+"$@"}
|