#!/bin/sh
# copy this along with built jar assembly to /opt/atlas/cd/

# overwrite settings from default file
if [ -f "/etc/default/cd" ]; then
        . "/etc/default/cd"
fi
sudo -u tomcat7 java -jar cd-assembly-1.0.jar $JVM_OPTS $CONFIG_OPTS "$@"

#!/bin/sh
# copy this along with built jar assembly to /opt/atlas/cd/

# overwrite settings from default file
if [ -f "/etc/default/cd" ]; then
        . "/etc/default/cd"
fi
DIR=$( cd "$( dirname "$0" )" && pwd )
java $JVM_OPTS $CONFIG_OPTS -jar ${DIR}/cd-assembly-1.0.jar $@


Fix run script for running outside directory
Fix run script for running outside directory
