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

start/stop lifecycle of application with sbt-native-packager #1232

Closed
MChouaiar opened this issue May 27, 2019 · 1 comment
Closed

start/stop lifecycle of application with sbt-native-packager #1232

MChouaiar opened this issue May 27, 2019 · 1 comment

Comments

@MChouaiar
Copy link

Expected behaviour

I can run my application with the start bash, this script can run myApp in foreground and when I wish to stop it I can do it by pressing ctr+c.

Actual behaviour

To be able to start the app on the background or at least to change the start script to be able to add for example nohup to the start commande.

Information

  • sbt-native-packager version 1.3.21
  • sbt version 1.2.8
    -What is your target system CentOS 7
@muuki88
Copy link
Contributor

muuki88 commented May 28, 2019

Thanks for your detailed issue @MChouaiar 😃

What you are looking for are called SystemLoaders in sbt-native-packager. This maybe upstart, systemv or systemd. sbt-native-packager does and will not provide lifecylce bash scripts as these are nearly impossible to maintain given the variety of linux/unix distributions.

See SystemLoader docs for more information.

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

No branches or pull requests

2 participants