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

FIX #249. Systemd support for Debian and Rpm #256

Merged
merged 5 commits into from
May 26, 2014

Conversation

kardapoltsev
Copy link
Member

This works fine on Fedora release 20 (Heisenbug) and I hope will work on Ubuntu when systemctl command will be added to Ubuntu release.
Also systemd units are placed in Ubuntu in another directory rather than Fedora or Gentoo, so new config defaultLinuxStartScriptLocation was added.

@kardapoltsev kardapoltsev changed the title Wip/systemd FIX #249. Systemd support for Debian and Rpm May 16, 2014
@muuki88 muuki88 added this to the 0.8.0 - windows services milestone May 17, 2014
@muuki88
Copy link
Contributor

muuki88 commented May 22, 2014

@kardapoltsev can you update this pr for automatic merge?

…systemd

Conflicts:
	src/main/scala/com/typesafe/sbt/packager/archetypes/JavaServerApplication.scala
@kardapoltsev
Copy link
Member Author

Is it fine to use such merge commits?

@muuki88
Copy link
Contributor

muuki88 commented May 23, 2014

IMHO smaller commits are better to handle. However this is a complete feature, so it's okay.

@muuki88
Copy link
Contributor

muuki88 commented May 23, 2014

Can you provide a small hint in the README.md for this new experimental feature and how to activate it? Then we can merge this and release an RC2 asking people to test it.

@kardapoltsev
Copy link
Member Author

My english is bad, so could you check this notes about systemd? Should I add more detailed docs?

@@ -28,6 +28,17 @@ For the native packager keys add this to your `build.sbt`
import com.typesafe.sbt.SbtNativePackager._
import NativePackagerKeys._

## Experimental systemd bootsystem support ##

Native packager have an experimental `systemd` bootsystem.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would change this to
"Native packager now provides experimental systemd startup scripts"

@muuki88
Copy link
Contributor

muuki88 commented May 23, 2014

Perfect! Just one comment and we are good to go

@kardapoltsev
Copy link
Member Author

Any more issues with this PR?

muuki88 added a commit that referenced this pull request May 26, 2014
FIX #249. Systemd support for Debian and Rpm
@muuki88 muuki88 merged commit dab0f55 into sbt:master May 26, 2014
@kardapoltsev kardapoltsev deleted the wip/systemd branch May 27, 2014 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants