mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Create spool directory at start if not exists
This commit is contained in:
parent
a576f3a6d1
commit
5081a180fa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user