25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Respect INSTALLUSER when creating spool directory

This commit is contained in:
Christophe Romain 2017-06-01 17:48:44 +02:00
parent 5081a180fa
commit de10a7a8ce

View File

@ -224,7 +224,7 @@ check_start()
}
}
} || {
[ -d "$SPOOL_DIR" ] || mkdir -p "$SPOOL_DIR"
[ -d "$SPOOL_DIR" ] || exec_cmd mkdir -p "$SPOOL_DIR"
cd "$SPOOL_DIR" || {
echo "ERROR: ejabberd can not access directory $SPOOL_DIR"
exit 6