These are chat archives for sbt/sbt-native-packager

19th
Mar 2016
Nepomuk Seiler
@muuki88
Mar 19 2016 18:37

@Discipe To customize the service-loader scripts ( in your case the upstart conf ), take a look at
http://www.scala-sbt.org/sbt-native-packager/archetypes/java_server/customize.html#override-start-script

The format is now src/templates/$format/$loader, which means for you src/templates/debian/upstart
( corresponding code: https://github.com/sbt/sbt-native-packager/blob/master/src/main/scala/com/typesafe/sbt/packager/archetypes/JavaServerApplication.scala#L191-L193 )

etc-default is a different thing. This is a configuration that gets sourced by the system-loader script.
However this is only supported for SystemV and Systemd, not upstart.