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
linuxJavaAppStartScriptBuilder in Debian:=JavaAppStartScript.Debian,
67
67
serverLoading :=Upstart,
68
-
69
68
// === Startscript creation ===
69
+
linuxScriptReplacements in Debian<++= (requiredStartFacilities in Debian, requiredStopFacilities in Debian, startRunlevels in Debian, stopRunlevels in Debian) apply {
linuxStartScriptTemplate in Debian<<= (serverLoading in Debian, sourceDirectory, linuxJavaAppStartScriptBuilder in Debian) map {
71
77
(loader, dir, builder) => builder.defaultStartScriptTemplate(loader, dir /"templates"/"start")
72
78
},
73
-
linuxMakeStartScript in Debian<<= (target in Universal, serverLoading in Debian, linuxScriptReplacements, linuxStartScriptTemplate in Debian, linuxJavaAppStartScriptBuilder in Debian)
79
+
linuxMakeStartScript in Debian<<= (target in Universal, serverLoading in Debian, linuxScriptReplacements in Debian, linuxStartScriptTemplate in Debian, linuxJavaAppStartScriptBuilder in Debian)
Copy file name to clipboardexpand all lines: src/main/scala/com/typesafe/sbt/packager/linux/Keys.scala
+4
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@ trait Keys {
16
16
valdaemonGroup=SettingKey[String]("daemon-group", "Group to start application daemon")
17
17
valdaemonShell=SettingKey[String]("daemon-shell", "Shell provided for the daemon user")
18
18
valserverLoading=SettingKey[ServerLoader]("server-loader", "Loading system to be used for application start script")
19
+
valstartRunlevels=SettingKey[Seq[Int]]("start-runlevels", "Sequence of runlevels on which application will start up")
20
+
valstopRunlevels=SettingKey[Seq[Int]]("stop-runlevels", "Sequence of runlevels on which application will stop")
21
+
valrequiredStartFacilities=SettingKey[Seq[String]]("required-start-facilities", "Names of system services that should be provided at application start")
22
+
valrequiredStopFacilities=SettingKey[Seq[String]]("required-stop-facilities", "Names of system services that should be provided at application stop")
19
23
vallinuxPackageMappings=TaskKey[Seq[LinuxPackageMapping]]("linux-package-mappings", "File to install location mappings including owner and privileges.")
20
24
vallinuxPackageSymlinks=TaskKey[Seq[LinuxSymlink]]("linux-package-symlinks", "Symlinks we should produce in the underlying package.")
21
25
valgenerateManPages=TaskKey[Unit]("generate-man-pages", "Shows all the man files in the current project")
0 commit comments