Last active
December 10, 2021 16:54
-
-
Save FilBot3/dd965c9dbc0b431c57b788cc4fbece48 to your computer and use it in GitHub Desktop.
HashiCorp Vault SystemD Service Unit file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backend "file" { | |
path = "/opt/HashiCorp/Vault/secrets" | |
} | |
listener "tcp" { | |
address = "127.0.0.1:8200" | |
tls_disable = 1 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SystemD Unit File for the HashiCorp Vault Server. | |
# URLs | |
# => https://www.freedesktop.org/software/systemd/man/systemd.unit.html | |
# => https://www.freedesktop.org/software/systemd/man/systemd.service.html | |
[Unit] | |
Description=HashiCorp's Vault Secrets Store | |
After=network.target | |
[Service] | |
Type=simple | |
PIDFile=/opt/HashiCorp/Vault/vault-server.pid | |
ExecStart=/opt/HashiCorp/Vault/vault server -config=/opt/HashiCorp/Vault/vault-server.hcl | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment