opnsense-ports/databases/puppetdb/files/patch-ext__files__puppetdb-foreground
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
605 B
Text

--- ./ext/files/puppetdb-foreground.orig 2014-09-01 19:00:53.881157604 +0000
+++ ./ext/files/puppetdb-foreground 2014-09-01 19:09:39.676120322 +0000
@@ -1,7 +1,7 @@
#!/bin/bash
-. /usr/libexec/puppetdb/puppetdb.env
+. %%PREFIX%%/libexec/puppetdb/puppetdb.env
ARGS="$@"
-su ${USER} -s /bin/bash -c "${JAVA_BIN} ${JAVA_ARGS} -cp ${INSTALL_DIR}/puppetdb.jar clojure.main -m com.puppetlabs.puppetdb.core services -c ${CONFIG} ${@}"
+su ${USER} -s %%PREFIX%%/bin/bash -c "${JAVA_BIN} ${JAVA_ARGS} -cp ${INSTALL_DIR}/puppetdb.jar clojure.main -m com.puppetlabs.puppetdb.core services -c ${CONFIG} ${@}"