2017-12-03 00:43:53 +00:00
|
|
|
[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
|
2017-12-14 15:24:52 +00:00
|
|
|
ExecStart=/bin/vault server -config=/etc/vault.hcl
|
2017-12-03 00:43:53 +00:00
|
|
|
KillSignal=SIGINT
|
|
|
|
TimeoutStopSec=30s
|
|
|
|
Restart=on-failure
|
|
|
|
StartLimitInterval=60s
|
|
|
|
StartLimitBurst=3
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|