Skip to content

Commit

Permalink
Fix PLUGIN_PATH issue in pluginctl.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
sschwartzman committed May 5, 2021
1 parent 5836b17 commit 1460c34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pluginctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ PLUGIN_JAVA_OPTS="-Xms16m -Xmx128m"
## DO NOT CHANGE THESE unless instructed! ##
PLUGIN_NAME="New Relic Unix Monitor"
PLUGIN_JAVA_CLASS=com.newrelic.infra.unix.Main
PLUGIN_JAVA_CLASSPATH="$PLUGIN_PATH/lib/newrelic-unix-monitor.jar"
SEND_DIRECTLY_TO_INSIGHTS=true
# Behavior when "start" command is issued and plugin is running
# False (default): Plugin will not be restarted.
Expand All @@ -61,7 +60,7 @@ if [ -z "$PLUGIN_PATH" ]; then
PLUGIN_PATH=`eval "cd \"$RELATIVE_PATH\" && pwd"`
fi
echo "Plugin location: $PLUGIN_PATH"

PLUGIN_JAVA_CLASSPATH="$PLUGIN_PATH/lib/newrelic-unix-monitor.jar"

# Attempt to set Java path & filename if not manually defined above
if [ -z "$PLUGIN_JAVA" ]; then
Expand Down

0 comments on commit 1460c34

Please sign in to comment.