mkdir -p $CONF_RW
mkdir -p $DATA_DIR
- # Merge config files
- echo ## Equinox configuration - Generated by /usr/sbin/nodectl > $CONFIG_INI
- cat $BASE_CONFIG_INI >> $CONFIG_INI
- cat $CONF_DIR/$APP.ini >> $CONFIG_INI
- for file in `ls -v $CONF_DIRS/*.ini`; do
- echo "\n# $file\n" >> $CONFIG_INI;
- cat $file >> $CONFIG_INI
- done;
+ # Merge config files
+ printf "## Equinox configuration - Generated by /usr/sbin/nodectl ##\n\n" > $CONFIG_INI
+ cat $BASE_CONFIG_INI >> $CONFIG_INI
+ printf "\n##\n## $CONF_DIR/$APP.ini\n##\n\n" >> $CONFIG_INI
+ cat $CONF_DIR/$APP.ini >> $CONFIG_INI
+ for file in `ls -v $CONF_DIRS/*.ini`; do
+ printf "\n##\n## $file\n##\n\n" >> $CONFIG_INI
+ cat $file >> $CONFIG_INI
+ done;
cd $EXEC_DIR
$JVM \