DaemonUser for upstart does not work in sbt-native-packager

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

+4
source share
1 answer

The daemonUser install function is simply not published.

IVY , 2013/11/16, change - 2013/11/21.

: Debian: https://github.com/sbt/sbt-native-packager/releases/tag/v0.7.0-M1

+2

All Articles