I use sbt-native-packager to create a .deb package, including all libraries. The generated upstart-script uses a user rootwhom I obviously want to avoid.
I found a hint in the code that there is an daemonUsersbt-setting parameter , but I cannot set it for my debian packaging.
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())
compilation error: not found: value daemonUser
any suggestion on how to set the user upstart script?
thanks
source
share