我使用原生打包程序将play api部署为RPM包。创建的包缺少/etc/init.d/
文件夹和脚本。
我该如何调试这种情况?
以下是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...)
答案 0 :(得分:1)
我遇到的问题是我遗失了SystemVplugin
和RpmDeployPlugin
(我只使用了RpmPlugin
)
lazy val `my-api` = (project in file("my-api"))
.enablePlugins(PlayScala, RpmDeployPlugin, SystemVPlugin)
...