I've used native packager to deploy a play api as a RPM package. The package created lacks the /etc/init.d/
folder and script.
How can I debug this situation ?
Here is an extract from the build.sbt :
lazy val myApp = (project in file("api"))
.enablePlugins(PlayScala, RpmDeployPlugin, SonarPlugin)
.configs(IntegrationTest)
.settings(
organization := "com.organization",
scalaVersion := "2.11.12"
...)
libraryDependencies ++= Seq( etc...)
The problem I had was that I was missing SystemVplugin
and RpmDeployPlugin
(I used RpmPlugin
only)
lazy val `my-api` = (project in file("my-api"))
.enablePlugins(PlayScala, RpmDeployPlugin, SystemVPlugin)
...