You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/main/resources/com/typesafe/sbt/packager/archetypes/java_server/systemloader/systemv/start-debian-template
Copy file name to clipboardexpand all lines: src/main/resources/com/typesafe/sbt/packager/archetypes/java_server/systemloader/systemv/start-rpm-template
+6
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,12 @@
28
28
# Source function library.
29
29
. /etc/rc.d/init.d/functions
30
30
31
+
# adding bashScriptEnvConfigLocation
32
+
[[ -f${{env_config}} ]] &&.${{env_config}}
33
+
34
+
# $JAVA_OPTS used in $RUN_CMD wrapper
35
+
export JAVA_OPTS
36
+
31
37
prog="${{exec}}"
32
38
33
39
# FIXME The pid file should be handled by the executed script
Copy file name to clipboardexpand all lines: src/main/scala/com/typesafe/sbt/packager/archetypes/JavaAppKeys.scala
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ trait JavaAppKeys {
12
12
valbashScriptDefines=TaskKey[Seq[String]]("bashScriptDefines", "A list of definitions that should be written to the bash file template.")
13
13
valbashScriptExtraDefines=TaskKey[Seq[String]]("bashScriptExtraDefines", "A list of extra definitions that should be written to the bash file template.")
14
14
valbashScriptConfigLocation=TaskKey[Option[String]]("bashScriptConfigLocation", "The location where the bash script will load default argument configuration from.")
15
-
valbashScriptEnvConfigLocation=TaskKey[Option[String]]("bashScriptEnvConfigLocation", "The location of a bash script that will be sourced before running the app.")
15
+
valbashScriptEnvConfigLocation=SettingKey[Option[String]]("bashScriptEnvConfigLocation", "The location of a bash script that will be sourced before running the app.")
16
16
valbatScriptExtraDefines=TaskKey[Seq[String]]("batScriptExtraDefines", "A list of extra definitions that should be written to the bat file template.")
17
17
valscriptClasspathOrdering=TaskKey[Seq[(File, String)]]("scriptClasspathOrdering", "The order of the classpath used at runtime for the bat/bash scripts.")
18
18
valprojectDependencyArtifacts=TaskKey[Seq[Attributed[File]]]("projectDependencyArtifacts", "The set of exported artifacts from our dependent projects.")
0 commit comments