8be403f47b
Match the configuration directory layout we're using for Consul and other services. Make recommended changes from `shellcheck` for this section of the provisioning script.
17 lines
333 B
Desktop File
17 lines
333 B
Desktop File
[Unit]
|
|
Description=Vault Agent
|
|
Requires=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
Environment=GOMAXPROCS=nproc
|
|
ExecStart=/usr/local/bin/vault server -config="/etc/vault.d/vault.hcl"
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillSignal=SIGTERM
|
|
User=root
|
|
Group=root
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|