Skip to content

Instantly share code, notes, and snippets.

@Kaydub00
Created March 7, 2018 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Kaydub00/9c878980d6dc9877a62a367957c8b473 to your computer and use it in GitHub Desktop.
Save Kaydub00/9c878980d6dc9877a62a367957c8b473 to your computer and use it in GitHub Desktop.
/etc/systemd/system/vault.service
[Unit]
Description=vault server
[Service]
Restart=on-failure
ExecStart=/usr/local/bin/vault server $OPTIONS -config=/etc/vault.conf
ExecStop=/usr/local/bin/vault step-down
[Install]
WantedBy=multi-user.target
@nnsense
Copy link

nnsense commented Mar 15, 2019

ExecStop=/usr/local/bin/vault step-down should now be ExecStop=/usr/local/bin/vault operator step-down

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment