-
Notifications
You must be signed in to change notification settings - Fork 445
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
Disable service autostart during package install #807
Comments
This is currently hard coded in the SystemloaderPlugin. You could filter out the specific lines from More over the startService bash method currently does two things: register the service and start it. So this would be a feature request to refactor those into two functions and provide an option to disable the auto start. |
Just wanted to let you know that my friends affected by this are currently unable to work on this because they are at the Scala days in Berlin if I'm not wrong. Will pick it up next week. Thanks for your patience. |
Oh no! I was in Berlin, too. We could have paired this 🤗 |
<3 the idea, can we perhaps pair on that some time this week ? |
Sure thing. Hangout or Skype would be fine. Just write me an email or a twitter pn. |
i'll start working on play showcase app, to share problems that we encounter. |
Question: how should this feature look like for the user ? should we add a file like "no_autostart" in a directory or should we set the option elsewhere ? |
Good question. The obvious way would be to add a setting |
if nobody objects, I'd like to take this and submit a pull request later today. I encountered the same issue a few weeks ago and hacked something in my local build to unblock my team. I'll incorporate the |
Looking forward to your pr 😃 |
PR submitted, all tests passed |
Closed with #847 |
Currently, our service packaged with sbt-native-package auto-starts after apt-get install. In our case, it may fail to start with the default configuration. We might want to 0. apt-get install 1. do our config file and 2. start the service. Is this use case supported ?
Note that I haven't tested inhibiting rc.d which might work too, so I'm unsure about the importance of this use case.
The text was updated successfully, but these errors were encountered: