16 lines
304 B
Plaintext
16 lines
304 B
Plaintext
|
[Unit]
|
||
|
Description=vault
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
AmbientCapabilities=CAP_IPC_LOCK
|
||
|
ExecStart=/usr/bin/vault server --config={{ vault_config_dir }}/config.json
|
||
|
LimitNOFILE=40000
|
||
|
NotifyAccess=all
|
||
|
Restart=always
|
||
|
RestartSec=10s
|
||
|
User={{ vault_adduser_vars.name }}
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|