Skip to content

Instantly share code, notes, and snippets.

@therandomsecurityguy
Created June 22, 2017 16:14
Show Gist options
  • Save therandomsecurityguy/ba0b250448bfcab91d3af8f0a654e31e to your computer and use it in GitHub Desktop.
Save therandomsecurityguy/ba0b250448bfcab91d3af8f0a654e31e to your computer and use it in GitHub Desktop.
Vault server service for systemd
[Unit]
Description=vault server
Requires=network-online.target
After=network-online.target consul.service
[Service]
EnvironmentFile=-/etc/sysconfig/vault
Restart=on-failure
ExecStart=/usr/local/bin/vault server $OPTIONS -config=/etc/vault.d
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment