We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in the universal bin folder, it would be great to have access to the script replacements, e.g. classpath and a few other bits and bobs.
bin
http://www.scala-sbt.org/sbt-native-packager/formats/universal.html
As a workaround, one can call out to find and source the /etc/defaults file
find
/etc/defaults
The text was updated successfully, but these errors were encountered:
The current way to do this is using bashScriptExtraDefines. You can add arbitrary bash stuff there.
However what you want to do is, create a complete new bashscript and have access to the replacements, right?
Sorry, something went wrong.
yes, that's right. Solid example: I have a service that I'm deploying and the run book looks like this:
both scripts are separate, but would benefit greatly from having access to the classpath and other variables. As it is, I hack it by adding this:
cd "`dirname $0`/../" [ -e /etc/default/NAME ] && . /etc/default/NAME [ -e /etc/sysconfig/NAME ] && . /etc/sysconfig/NAME CLASSPATH=`find lib -mindepth 1 -maxdepth 1 -type f -name "*.jar" | tr '\n' ':'`
to my scripts.
No branches or pull requests
in the universal
bin
folder, it would be great to have access to the script replacements, e.g. classpath and a few other bits and bobs.http://www.scala-sbt.org/sbt-native-packager/formats/universal.html
As a workaround, one can call out to
find
and source the/etc/defaults
fileThe text was updated successfully, but these errors were encountered: