mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
Fix quoting of JAVA_OPTS in bin/radioctl.
Fixes passing of JVM args to the radio process. Fixes #918.
This commit is contained in:
@@ -63,7 +63,7 @@ start() {
|
||||
run() {
|
||||
echo "Running graylog-radio ..."
|
||||
cd "$RADIOCTL_DIR/.."
|
||||
exec "${JAVA_CMD}" "${JAVA_OPTS}" ${LOG4J} -jar "${RADIO_JAR}" radio -f "${RADIO_CONF}" -p "${RADIO_PID}"
|
||||
exec "${JAVA_CMD}" ${JAVA_OPTS} ${LOG4J} -jar "${RADIO_JAR}" radio -f "${RADIO_CONF}" -p "${RADIO_PID}"
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
||||
Reference in New Issue
Block a user