Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2017-06-01 18:44:23 +0300
committerChristophe Romain <christophe.romain@process-one.net>2017-06-01 18:44:23 +0300
commit5081a180fa761f6c8864be0906e39d0ba97d2449 (patch)
tree5496997382b25f3ac03512ab3ef10066b6191e77 /ejabberdctl.template
parenta576f3a6d1cc3e881df5d4e864dd7959435a9e38 (diff)
Create spool directory at start if not exists
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-xejabberdctl.template1
1 files changed, 1 insertions, 0 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template
index 3fb302187..d03de6640 100755
--- a/ejabberdctl.template
+++ b/ejabberdctl.template
@@ -224,6 +224,7 @@ check_start()
}
}
} || {
+ [ -d "$SPOOL_DIR" ] || mkdir -p "$SPOOL_DIR"
cd "$SPOOL_DIR" || {
echo "ERROR: ejabberd can not access directory $SPOOL_DIR"
exit 6