vault-bin-arm/vault.service
2017-12-14 15:24:52 +00:00

23 lines
439 B
Desktop File

[Unit]
Description=Vault server
Requires=basic.target network.target
After=basic.target network.target
[Service]
User=vault
Group=vault
PrivateTmp=yes
ProtectSystem=full
ProtectHome=read-only
CapabilityBoundingSet=CAP_IPC_LOCK
Environment=GOMAXPROCS=2
ExecStart=/bin/vault server -config=/etc/vault.hcl
KillSignal=SIGINT
TimeoutStopSec=30s
Restart=on-failure
StartLimitInterval=60s
StartLimitBurst=3
[Install]
WantedBy=multi-user.target