Skip to content

Commit 947dd6b

Browse files
committed
foreground.erb: Remove restartcounter
Signed-off-by: Tim Meusel <tim@bastelfreak.de>
1 parent d780539 commit 947dd6b

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • resources/puppetlabs/lein-ezbake/template/global/ext/cli

resources/puppetlabs/lein-ezbake/template/global/ext/cli/foreground.erb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
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

85
if ! (echo "${@}" | grep -e "--debug" -q)
96
then
@@ -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

0 commit comments

Comments
 (0)