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 docker-run.erb template should allow for setting "Restart=" #307

Open
lorijean44 opened this issue Jul 23, 2015 · 0 comments
Open
Labels

Comments

@lorijean44
Copy link

The templates/etc/systemd/system/docker-run.erb template should allow the user to set the "Restart=" value in the file.

It comes hardcoded as "on-failure".

Allow for a flag to docker::run like "systemd_restart", verify the value is one of the allowed options, and then use the value in the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants