I'm using the sbt-native-packager to create a .deb package including all libraries. The generated upstart-script is using the root
user which I obviously want to avoid.
I found a hint in the code that there is a daemonUser
sbt-setting defined 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())
the compile error is: not found: value daemonUser
any suggestion how to set the user for the upstart script?
thanks