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/scala/com/typesafe/sbt/packager/archetypes/systemloader/SystemloaderKeys.scala
+5
Original file line number
Diff line number
Diff line change
@@ -8,4 +8,9 @@ trait SystemloaderKeys {
8
8
valstopRunlevels=SettingKey[Option[String]]("stop-runlevels", "Sequence of runlevels on which application will stop")
9
9
valrequiredStartFacilities=SettingKey[Option[String]]("required-start-facilities", "Names of system services that should be provided at application start")
10
10
valrequiredStopFacilities=SettingKey[Option[String]]("required-stop-facilities", "Names of system services that should be provided at")
11
+
valtermTimeout=SettingKey[Int]("term-timeout", "Timeout before sigterm on stop")
12
+
valkillTimeout=SettingKey[Int]("kill-timeout", "Timeout before sigkill on stop (after term)")
13
+
valretryTimeout=SettingKey[Int]("retry-timeout", "Timeout between retries in seconds")
14
+
valretries=SettingKey[Int]("retries", "Number of retries to start service")
Copy file name to clipboardexpand all lines: src/main/scala/com/typesafe/sbt/packager/linux/Keys.scala
+2-4
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,6 @@ trait LinuxKeys {
17
17
vallinuxPackageMappings=TaskKey[Seq[LinuxPackageMapping]]("linux-package-mappings", "File to install location mappings including owner and privileges.")
18
18
vallinuxPackageSymlinks=TaskKey[Seq[LinuxSymlink]]("linux-package-symlinks", "Symlinks we should produce in the underlying package.")
19
19
valgenerateManPages=TaskKey[Unit]("generate-man-pages", "Shows all the man files in the current project")
20
-
valtermTimeout=SettingKey[Int]("term-timeout", "Timeout before sigterm on stop")
21
-
valkillTimeout=SettingKey[Int]("kill-timeout", "Timeout before sigkill on stop (after term)")
22
20
23
21
vallinuxMakeStartScript=TaskKey[Option[File]]("linuxMakeStartScript", "Creates or discovers the start script used by this project")
24
22
vallinuxStartScriptTemplate=TaskKey[URL]("linuxStartScriptTemplate", "The location of the template start script file we use for debian (upstart or init.d")
@@ -32,8 +30,6 @@ trait LinuxKeys {
32
30
| author - author of this project
33
31
| descr - short description
34
32
| chdir - execution path of the script
35
-
| retries - on fail, how often should a restart be tried
36
-
| retryTimeout - pause between retries
37
33
| appName - name of application
38
34
| appClasspath - application classpath
39
35
| appMainClass - main class to start
@@ -43,6 +39,8 @@ trait LinuxKeys {
43
39
| daemonGroupGid - daemon group gid
44
40
| termTimeout - timeout before sigterm on stop
45
41
| killTimeout - timeout before sigkill on stop (after term)
42
+
| retries - on fail, how often should a restart be tried
0 commit comments