File tree Expand file tree Collapse file tree
resources/puppetlabs/lein-ezbake/template/global/ext/cli Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- restartfile=" /opt/puppetlabs/server/data/<%= EZBake::Config[:real_name] %>/restartcounter"
4- if [ ! -e " $restartfile " ]; then
5- printf ' 0' | /usr/bin/install -D -o " ${USER:- <% = EZBake:: Config[:user] % >} " -g " ${GROUP:- <% = EZBake:: Config[:group] % >} " -m 0644 /dev/stdin " $restartfile "
6- fi
3+ # This file is meant to be used in containers to start the java process with correct parameters
74
85if ! (echo " ${@ } " | grep -e " --debug" -q)
96then
@@ -25,7 +22,6 @@ COMMAND="${JAVA_BIN} ${JAVA_ARGS} ${LOG_APPENDER} \
2522 -cp '${CLASSPATH} ' \
2623 clojure.main -m <%= EZBake::Config[:main_namespace] %> \
2724 --config ${CONFIG} --bootstrap-config ${BOOTSTRAP_CONFIG} \
28- --restart-file '${restartfile} ' \
2925 ${TK_ARGS} \
3026 ${@ } "
3127
You can’t perform that action at this time.
0 commit comments