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

Debian package issues using jdeb #341

Closed
aviks opened this issue Aug 31, 2014 · 1 comment
Closed

Debian package issues using jdeb #341

aviks opened this issue Aug 31, 2014 · 1 comment

Comments

@aviks
Copy link
Contributor

aviks commented Aug 31, 2014

I'm using Jdeb to create a debian package for a play app. Play 2.3.3

Most things work fine, but the following issues prevent the projec from executing correctly on a Ubuntu 12.04 system.

  1. The start script /usr/share/myapp/bin/myapp is not executable. It is rather -rw-r--r--
  2. The directories /var/log/myapp and /var/run/myapp are not created. On installing the package via dpkg, a chown: no such file /var/log/myapp (and same for ../run/..) is shown.

I have the following configuration in build.sbt. Everythign else is play defaults

maintainer in Linux := "Me Myself <[email protected]>"

packageSummary in Linux := "myapp"

packageDescription in Debian := "My App"

packageBin in Debian <<= debianJDebPackaging in Debian

@kardapoltsev
Copy link
Member

This is already fixed in #324, #322. You could try to use latest version of sbt-native-packager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants