Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.8.0: JDebPackaging doesn't take into account daemonUser setting #468

Closed
aparamonov opened this issue Jan 23, 2015 · 2 comments
Closed
Labels

Comments

@aparamonov
Copy link

I have following settings in build.sbt

name := "guide-menu-web"

packageArchetype.java_server

packageBin in Debian <<= debianJDebPackaging in Debian

serverLoading in Debian := ServerLoader.Upstart

daemonUser in Debian := "guide-menu"

But 'sbt debian:packageBin' command generates deb-scripts with 'guide-menu-web' user.
For example, \target\universal\tmp\bin\debianpostinst contains following script: https://gist.github.com/aparamonov/95f520720b5adcee7312

@muuki88 muuki88 added the debian label Jan 23, 2015
@muuki88
Copy link
Contributor

muuki88 commented Jan 23, 2015

Try

daemonUser in Linux := "guide-menu"

there are still some gaps between the Linux and Rpm/Debian configurations

@aparamonov
Copy link
Author

That's working, thanks!

@muuki88 muuki88 closed this as completed Jan 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants