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

Add group support and improve start/stop checks #17

Merged
merged 1 commit into from
Sep 11, 2019

Conversation

ghmeier
Copy link
Collaborator

@ghmeier ghmeier commented Sep 11, 2019

This adds support for the groups array in unit definitions like:

unit {
  name = "app"
  groups = ["all", "services"]

}

That lets us start groups of units at the same time. In addition, add
some checks when starting/stopping services to see if they're already
running/stopped so we don't throw errors to the console.

Fixes #15

This adds support for the `groups` array in unit definitions like:
```
unit {
  name = "app"
  groups = ["all", "services"]

}
```

That lets us start groups of units at the same time. In addition, add
some checks when starting/stopping services to see if they're already
running/stopped so we don't throw errors to the console
@ghmeier ghmeier requested a review from ttacon September 11, 2019 16:20
@ghmeier ghmeier merged commit a1cd872 into ttacon:master Sep 11, 2019
@ghmeier ghmeier deleted the add-groups branch September 11, 2019 16:20
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.

Add support for unit groups
1 participant