29 lines
661 B
Desktop File
29 lines
661 B
Desktop File
[Unit]
|
|
Description="HashiCorp Vault - A tool for managing secrets"
|
|
Documentation=https://www.vaultproject.io/docs/
|
|
Requires=network-online.target
|
|
After=network-online.target
|
|
ConditionFileNotEmpty=/etc/vault/config.hcl
|
|
|
|
[Service]
|
|
User=vault
|
|
Group=vault
|
|
ProtectSystem=full
|
|
ProtectHome=read-only
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
SecureBits=keep-caps
|
|
AmbientCapabilities=CAP_IPC_LOCK
|
|
NoNewPrivileges=yes
|
|
ExecStart=/usr/local/bin/vault server -config=/etc/vault/config.hcl
|
|
ExecReload=/bin/kill --signal HUP
|
|
KillMode=process
|
|
KillSignal=SIGINT
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
TimeoutStopSec=30
|
|
StartLimitBurst=3
|
|
LimitNOFILE=65536
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |