我正在使用sbt-native-packager创建一个包含所有库的 .deb 包。生成的新贵脚本正在使用root
我显然想避免的用户。
我在代码中发现了一个提示,即daemonUser
定义了一个 sbt 设置,但我无法为我的 debian 打包设置它。
import com.typesafe.sbt.packager.archetypes._
import com.typesafe.sbt.SbtNativePackager._
import NativePackagerKeys._
JavaServerAppPackaging.settings ++ packageArchetype.java_server ++ Seq(
packageSummary := "app",
packageDescription := "app",
maintainer := orgName,
daemonUser in Debian := "ubuntu",
debianPackageDependencies in Debian ++= Seq())
编译错误是:not found: value daemonUser
任何建议如何为暴发户脚本设置用户?
谢谢