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
SystemD services now source /etc/default/{{app_name}} sbt#737
This change modifies the SystemD template to include the packaged
/etc/default environment settings file. Since a sourced SystemD
environment file is not the same thing as a bourne shell source script,
a different template is used.
Those deploying their package to multiple platforms can also specify
different /etc/default templates by suffixing `-systemd` to their name,
ie: src/templates/etc-default-systemd
Copy file name to clipboardexpand all lines: src/main/scala/com/typesafe/sbt/packager/archetypes/JavaAppKeys.scala
+2
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@ trait JavaAppKeys {
13
13
valbashScriptDefines=TaskKey[Seq[String]]("bashScriptDefines", "A list of definitions that should be written to the bash file template.")
14
14
valbashScriptExtraDefines=TaskKey[Seq[String]]("bashScriptExtraDefines", "A list of extra definitions that should be written to the bash file template.")
15
15
valbashScriptConfigLocation=TaskKey[Option[String]]("bashScriptConfigLocation", "The location where the bash script will load default argument configuration from.")
16
+
// TODO - we should change this key name in future versions; it also specified
17
+
// the location of the systemd EnvironmentFile
16
18
valbashScriptEnvConfigLocation=SettingKey[Option[String]]("bashScriptEnvConfigLocation", "The location of a bash script that will be sourced before running the app.")
17
19
valbatScriptExtraDefines=TaskKey[Seq[String]]("batScriptExtraDefines", "A list of extra definitions that should be written to the bat file template.")
18
20
valscriptClasspathOrdering=TaskKey[Seq[(File, String)]]("scriptClasspathOrdering", "The order of the classpath used at runtime for the bat/bash scripts.")
0 commit comments