|
@@ -117,7 +117,7 @@ start() {
|
|
cd $ES_HOME
|
|
cd $ES_HOME
|
|
echo -n $"Starting $prog: "
|
|
echo -n $"Starting $prog: "
|
|
# if not running, start it up here, usually something like "daemon $exec"
|
|
# if not running, start it up here, usually something like "daemon $exec"
|
|
- daemon --user $ES_USER --pidfile $pidfile $exec -p $pidfile -d -Des.default.path.home=$ES_HOME -Des.default.path.logs=$LOG_DIR -Des.default.path.data=$DATA_DIR -Des.default.path.conf=$CONF_DIR
|
|
|
|
|
|
+ daemon --user $ES_USER --pidfile $pidfile $exec -p $pidfile -d -D es.default.path.home=$ES_HOME -D es.default.path.logs=$LOG_DIR -D es.default.path.data=$DATA_DIR -D es.default.path.conf=$CONF_DIR
|
|
retval=$?
|
|
retval=$?
|
|
echo
|
|
echo
|
|
[ $retval -eq 0 ] && touch $lockfile
|
|
[ $retval -eq 0 ] && touch $lockfile
|