<commit_before>#!/bin/bash

#common
LocalPath=`pwd`;
CurrentPath=`readlink -f $0`;
BasePath=`dirname $CurrentPath`;
Jetty_Home=$BasePath;
Lang=ja_JP.UTF-8;
Path=$Java_home/bin:$PATH;
EmbeddedJettyLocal=$BasePath/../jar/embeddedserver.jar;
EmbeddedJettyPath=`readlink -f $EmbeddedJettyLocal`;
JettyTempPath=/tmp
umask 002

#web app context
ProxyServerPid=/tmp/proxy.pid;

echo "********************************************************";
echo "*ProxyServer Loader";
echo "********************************************************";

export JETTY_HOME=$Jetty_Home;
export LANG=$Lang;
export PATH=$Path;

if [ -f $ProxyServerPid ];
then
  echo "Already started!";
  exit -1;
fi

java -version
<commit_msg>Fixed start script for proxy<commit_after>#!/bin/bash

#common
LocalPath=`pwd`;
CurrentPath=`readlink -f $0`;
BasePath=`dirname $CurrentPath`;
Jetty_Home=$BasePath;
Lang=ja_JP.UTF-8;
Path=$Java_home/bin:$PATH;
EmbeddedJettyLocal=$BasePath/../jar/embeddedserver.jar;
EmbeddedJettyPath=`readlink -f $EmbeddedJettyLocal`;
JettyTempPath=/tmp
umask 002

#web app context
ProxyServerPid=$JettyTempPath/proxy.pid;

echo "********************************************************";
echo "*ProxyServer Loader";
echo "********************************************************";

export JETTY_HOME=$Jetty_Home;
export LANG=$Lang;
export PATH=$Path;

if [ -f $ProxyServerPid ];
then
  echo "Already started!";
  exit -1;
fi

java -version

{'fraction_non_alphanumeric': 0.28350877192982454, 'fraction_numerical': 0.008421052631578947, 'mean_word_length': 7.802469135802469, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3522140', 'n_tokens_mistral': 522, 'n_tokens_neox': 465, 'n_words': 94}