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
I'm trying to create .deb file for Xenial Ubuntu (Systemd systemloader) for Play application
The result has two major issues:
myproject.service file is only created when I use rpm:packageBin and NOT when I use debian:packageBin command for SBT.
/usr/share/myproject/bin folder (where actual start script should reside) is not created, start script is not created anywhere else either
Using SBT 0.13.15, sbt-native-packager 1.2.2
My build.sbt looks like this:
importsbt._importcom.typesafe.sbt.packager.archetypes.systemloader.SystemdPluginimportcom.typesafe.sbt.packager.archetypes._// ordering appears to be important with some versions of sbt and its plugins// don't change the order below without a review first//packageArchetype.java_server
enablePlugins(JavaServerAppPackaging)
enablePlugins(SystemdPlugin)
//serverLoading := Systemd
organization :="myorganization"
name :="myproject"
version :="7.5.0.1"
scalaVersion :="2.11.2"
packageDescription in Rpm:="Myproject Service"
packageDescription in Debian:="Myproject Service"
defaultLinuxStartScriptLocation in Rpm:="/lib/systemd/system"
defaultLinuxStartScriptLocation in Debian:="/lib/systemd/system"
name in Debian:="myproject"
rpmVendor :="MyOrganization"
rpmGroup :=Some("Integration")
rpmLicense :=Some("Apache 2.0")
packageSummary in Linux:="Myproject Service"```
What am I missing?
The text was updated successfully, but these errors were encountered:
everything looks fine. The generated debian file also contains the correct systemd file.
As a side note. With sbt 0.13.15 you don't need blank lines between your settings.
Also when using the AutoPlugins the ordering is not crucial anymore ( ordering still
applies, but AutoPlugins enable themselves at the correct time )
I'm trying to create .deb file for Xenial Ubuntu (Systemd systemloader) for Play application
The result has two major issues:
Using SBT 0.13.15, sbt-native-packager 1.2.2
My build.sbt looks like this:
What am I missing?
The text was updated successfully, but these errors were encountered: