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

Enable Consul and DB to run when instance restarts #8

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

markoeremija
Copy link

This code should add additional resiliency to the DB and Consul instances as it adds a line:

systemctl enable <daemon-name>

which will enable it to run automatically after instance boots up.

Code related to the addition of environment variables in server.sh script is just a convenience as it will allow changing the paths to certificates and keys in one place. The CONSUL_VERSION environment variable can also be templated if needed later but this way it will be changed at the top of the file and used by apt.

@hashicorp-cla
Copy link

hashicorp-cla commented Jun 23, 2022

CLA assistant check
All committers have signed the CLA.

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