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

Systemd : Requires/After ? #171

Open
Poil opened this issue Nov 8, 2018 · 4 comments
Open

Systemd : Requires/After ? #171

Poil opened this issue Nov 8, 2018 · 4 comments

Comments

@Poil
Copy link
Contributor

Poil commented Nov 8, 2018

Hi,

I'm asking myself to add the possiblity for orchestring the systemd-docker-unit.
By example I would like to start the Consul container before starting the Vault and Dnsmasq containers

What do you think about this feature ?

@noelmcloughlin
Copy link
Member

Kinda related to #120 - it would be useful to have this feature for separate projects - assuming you are talking about docker composing.

@Poil
Copy link
Contributor Author

Poil commented Jan 2, 2019

I'm not talking about docker composing, Systemd have this possibility natively, so if using only systemd and service file to start docker we are able to orchestrate the run of the containers

@noelmcloughlin
Copy link
Member

Yes I understand the suggestion now. You want to manipulate /usr/lib/systemd/systemd/docker.service to add Before or Wants clauses based on pillars.

@Poil
Copy link
Contributor Author

Poil commented Mar 27, 2019

yes :)

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