Replace old scripts with JShell.
[lgpl/argeo-commons.git] / dist / argeo-node / base / bin / argeo-cms
index a1701a3ba41b58090b673ffc3a09c19df7e019d1..d93d89984bb9c84b8073e2be4b8e4ad8092d9156 100755 (executable)
@@ -9,10 +9,8 @@ BASE_DIR=$BIN_DIR/..
 # Directories and files
 CONF_DIR=$BASE_DIR/etc/$APP
 CONF_DIRS=$CONF_DIR/conf.d
-#BASE_POLICY_ALL=/usr/share/$APP/all.policy
 BASE_CONFIG_INI=$BASE_DIR/share/$APP/config.ini
 
-#EXEC_DIR=$BASE_DIR/var/lib/$APP
 EXEC_DIR=.
 DATA_DIR=$EXEC_DIR/data
 CONF_RW=$EXEC_DIR/state
@@ -33,7 +31,7 @@ start() {
        mkdir -p $DATA_DIR
 
     # Merge config files
-    printf "## Equinox configuration - Generated by /usr/sbin/nodectl ##\n\n" > $CONFIG_INI
+    printf "## Equinox configuration - Generated by argeo-cms ##\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