diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2017-06-01 17:48:44 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2017-06-01 17:48:44 +0200 |
commit | de10a7a8ce692925feed2b839dd7f05c51d798f6 (patch) | |
tree | e5231ef60619ff5726fdcd09ed1687fd4e330f54 /ejabberdctl.template | |
parent | Create spool directory at start if not exists (diff) |
Respect INSTALLUSER when creating spool directory
Diffstat (limited to 'ejabberdctl.template')
-rwxr-xr-x | ejabberdctl.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ejabberdctl.template b/ejabberdctl.template index d03de664..303c8c04 100755 --- a/ejabberdctl.template +++ b/ejabberdctl.template @@ -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 |