Commit 0b9216b4 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Add LSC parameters in init script (references #583)

parent 9b0eac60
...@@ -10,6 +10,7 @@ LSC_USER="" ...@@ -10,6 +10,7 @@ LSC_USER=""
LSC_GROUP="" LSC_GROUP=""
LSC_PID_FILE="/var/run/lsc.pid" LSC_PID_FILE="/var/run/lsc.pid"
LSC_TASKS="all" LSC_TASKS="all"
LSC_PARAMS=""
# JMX # JMX
LSC_JMXPORT="1099" LSC_JMXPORT="1099"
......
...@@ -64,6 +64,7 @@ LSC_USER="lsc" ...@@ -64,6 +64,7 @@ LSC_USER="lsc"
LSC_GROUP="lsc" LSC_GROUP="lsc"
LSC_PID_FILE="/var/run/lsc.pid" LSC_PID_FILE="/var/run/lsc.pid"
LSC_TASKS="all" LSC_TASKS="all"
LSC_PARAMS=""
# JMX # JMX
LSC_JMXPORT=1099 LSC_JMXPORT=1099
...@@ -172,7 +173,7 @@ start_lsc() { ...@@ -172,7 +173,7 @@ start_lsc() {
fi fi
# LSC parameters # LSC parameters
LSC_PARAMS="-a $LSC_TASKS -f $LSC_CFG_DIR" LSC_PARAMS="-a $LSC_TASKS -f $LSC_CFG_DIR $LSC_PARAMS"
if [ -z "$SU" ] if [ -z "$SU" ]
then then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment