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 #239. Start run levels, dependencies in upstart and systemV impl #248

Merged
merged 3 commits into from
May 14, 2014

Conversation

kardapoltsev
Copy link
Member

No description provided.

@kardapoltsev kardapoltsev changed the title startup levels, dependencies in upstart and systemV impl FIX #239. Start run levels, dependencies in upstart and systemV impl May 12, 2014
@kardapoltsev
Copy link
Member Author

Unfortunately I can't test in on upstart system now.

@kardapoltsev
Copy link
Member Author

Also, since in Upstart we could write smth like this

start on started (service-a or service-b and service-c)

may be it'll be better to convert requiredStartFacilities to simple string and users could be able to write anything that they need.

What do you think?

@muuki88
Copy link
Contributor

muuki88 commented May 12, 2014

I think a string is a better option. I have no idea how Systemd handles things, so we will have a third startup system soon.

@kardapoltsev
Copy link
Member Author

Yes, I'm also thinking about support of systemd) I'll change things to strings today.

@kardapoltsev
Copy link
Member Author

I think I'm done with this. @jsuereth, @muuki88 could you take a look at this PR please?

@muuki88
Copy link
Contributor

muuki88 commented May 14, 2014

LGTM

muuki88 added a commit that referenced this pull request May 14, 2014
FIX #239. Start run levels, dependencies in upstart and systemV impl
@muuki88 muuki88 merged commit 719b738 into sbt:master May 14, 2014
@@ -9,10 +9,12 @@ author "${{author}}"
# See a list of stanzas here: http://upstart.ubuntu.com/wiki/Stanzas#respawn

# When to start the service
start on runlevel [2345]
start on runlevel [${{start_runlevels}}]
start on started (${{start_facilities}})
Copy link
Contributor

Choose a reason for hiding this comment

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

The round brackets causing an error, so upstart doesn't work. We need [${{start_facilities}}]

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

Successfully merging this pull request may close these issues.

2 participants