mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
The pre-commit hook does not allow me to copy and update the port at the same time. With hat: puppet
19 lines
745 B
Text
19 lines
745 B
Text
--- ext/cli/foreground.orig 2019-09-17 14:05:56 UTC
|
|
+++ ext/cli/foreground
|
|
@@ -1,6 +1,6 @@
|
|
#!/usr/bin/env bash
|
|
|
|
-restartfile="/opt/puppetlabs/server/data/puppetserver/restartcounter"
|
|
+restartfile="/var/puppet/server/data/puppetserver/restartcounter"
|
|
cli_defaults=${INSTALL_DIR}/cli/cli-defaults.sh
|
|
|
|
if [ ! -e "${INSTALL_DIR}/ezbake-functions.sh" ]; then
|
|
@@ -30,7 +30,7 @@ fi
|
|
COMMAND="${JAVA_BIN} ${JAVA_ARGS} ${LOG_APPENDER} \
|
|
-cp "$CLASSPATH" \
|
|
clojure.main -m puppetlabs.trapperkeeper.main \
|
|
- --config ${CONFIG} --bootstrap-config ${BOOTSTRAP_CONFIG} \
|
|
+ --config ${CONFIG} --bootstrap-config %%ETCDIR%%/services.d \
|
|
--restart-file "${restartfile}" \
|
|
${TK_ARGS} \
|
|
${@}"
|