Sbt 本机打包程序不创建服务脚本文件
Sbt native packager doesn't create service script file
我使用本机打包程序将游戏 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...)
我遇到的问题是我缺少 SystemVplugin
和 RpmDeployPlugin
(我只使用了 RpmPlugin
)
lazy val `my-api` = (project in file("my-api"))
.enablePlugins(PlayScala, RpmDeployPlugin, SystemVPlugin)
...
我使用本机打包程序将游戏 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...)
我遇到的问题是我缺少 SystemVplugin
和 RpmDeployPlugin
(我只使用了 RpmPlugin
)
lazy val `my-api` = (project in file("my-api"))
.enablePlugins(PlayScala, RpmDeployPlugin, SystemVPlugin)
...