2017-02-08 21:41:36 +00:00
|
|
|
[Unit]
|
|
|
|
Description=vault
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
AmbientCapabilities=CAP_IPC_LOCK
|
2018-08-06 11:44:13 +00:00
|
|
|
ExecStart={{ bin_dir }}/vault server --config={{ vault_config_dir }}/config.json
|
2017-02-08 21:41:36 +00:00
|
|
|
LimitNOFILE=40000
|
|
|
|
NotifyAccess=all
|
|
|
|
Restart=always
|
|
|
|
RestartSec=10s
|
|
|
|
User={{ vault_adduser_vars.name }}
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|