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
defaultLinuxStartScriptLocation in Rpm<<= (serverLoading in Rpm) apply getStartScriptLocation,
157
-
linuxPackageMappings in Rpm<++= (packageName in Rpm, linuxMakeStartScript in Rpm, serverLoading in Rpm, defaultLinuxStartScriptLocation in Rpm) map startScriptMapping,
158
+
linuxStartScriptName in Rpm<<= linuxStartScriptName in Linux,
159
+
linuxPackageMappings in Rpm<++= (packageName in Rpm, linuxMakeStartScript in Rpm, serverLoading in Rpm, defaultLinuxStartScriptLocation in Rpm, linuxStartScriptName in Rpm) map startScriptMapping,
158
160
159
161
// == Maintainer scripts ===
160
162
// TODO this is very basic - align debian and rpm plugin
Copy file name to clipboardexpand all lines: src/main/scala/com/typesafe/sbt/packager/linux/Keys.scala
+1
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ trait LinuxKeys {
26
26
27
27
vallinuxMakeStartScript=TaskKey[Option[File]]("makeStartScript", "Creates or discovers the start script used by this project")
28
28
vallinuxStartScriptTemplate=TaskKey[URL]("linuxStartScriptTemplate", "The location of the template start script file we use for debian (upstart or init.d")
29
+
vallinuxStartScriptName=SettingKey[Option[String]]("linuxStartScriptName", "The name of the start script for debian (primary useful for systemd)")
29
30
vallinuxEtcDefaultTemplate=TaskKey[URL]("linuxEtcDefaultTemplate", "The location of the /etc/default/<pkg> template script.")
0 commit comments