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

30th
Aug 2016
Farhan Syed
@Nearhan
Aug 30 2016 18:28
hello
why is the SystemdPlugin not working?
it can't seem to find it
i had to do something hacky like this

//THIS IS THE KEY PIECE!!
serverLoading in Rpm := ServerLoader.Systemd
either way
Nepomuk Seiler
@muuki88
Aug 30 2016 19:16

Hi @Nearhan . Which version of native-packer do you use? If you use a version below 1.2.x the "hacky piece" is the correct way of changing your systemloader implementation. See http://sbt-native-packager.readthedocs.io/en/stable/archetypes/java_server/customize.html#service-manager-configuration

If you use 1.2.0-M5 and enablePlugins(SystemdPlugin) as documented here ( http://sbt-native-packager.readthedocs.io/en/latest/archetypes/systemloaders.html#systemd) please open an issue with a example build.sbt to reproduce this.

Srepfler Srdan
@schrepfler
Aug 30 2016 23:04
does native packager docker properly traps system calls from host (propagate kill signal to service properly)?