Skip to content

Instantly share code, notes, and snippets.

@FilBot3
Last active December 10, 2021 16:54
Show Gist options
  • Save FilBot3/dd965c9dbc0b431c57b788cc4fbece48 to your computer and use it in GitHub Desktop.
Save FilBot3/dd965c9dbc0b431c57b788cc4fbece48 to your computer and use it in GitHub Desktop.
HashiCorp Vault SystemD Service Unit file
backend "file" {
path = "/opt/HashiCorp/Vault/secrets"
}
listener "tcp" {
address = "127.0.0.1:8200"
tls_disable = 1
}
# 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