1.1 --- a/tools/init.sh Sun Feb 07 23:35:20 2016 +0100
1.2 +++ b/tools/init.sh Mon Feb 08 00:14:53 2016 +0100
1.3 @@ -23,8 +23,9 @@
1.4 Within the stored data directory (using $INSTALL_DIR as an example), the
1.5 following directories are created:
1.6
1.7 + * $INSTALL_DIR/journal
1.8 + * $INSTALL_DIR/preferences
1.9 * $INSTALL_DIR/store
1.10 - * $INSTALL_DIR/preferences
1.11
1.12 Within the published data directory (using $WEB_INSTALL_DIR as an example), the
1.13 following directory is created:
1.14 @@ -39,7 +40,8 @@
1.15 USER=${3:-$IMIP_AGENT_USER}
1.16 GROUP=${4:-$IMIP_AGENT_GROUP}
1.17
1.18 -for DIR in "$INSTALL_DIR"/store "$INSTALL_DIR"/preferences "$WEB_INSTALL_DIR"/static ; do
1.19 +for DIR in "$INSTALL_DIR"/store "$INSTALL_DIR"/preferences "$WEB_INSTALL_DIR"/static \
1.20 + "$INSTALL_DIR"/journal ; do
1.21 mkdir -p "$DIR"
1.22 chown "$USER" "$DIR"
1.23 chgrp "$GROUP" "$DIR"