You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
304 B

  1. [Unit]
  2. Description=vault
  3. After=network.target
  4. [Service]
  5. AmbientCapabilities=CAP_IPC_LOCK
  6. ExecStart=/usr/bin/vault server --config={{ vault_config_dir }}/config.json
  7. LimitNOFILE=40000
  8. NotifyAccess=all
  9. Restart=always
  10. RestartSec=10s
  11. User={{ vault_adduser_vars.name }}
  12. [Install]
  13. WantedBy=multi-user.target