itamae/cookbooks/consul/files/etc/systemd/system/vault-agent-consul-jwt.service

14 lines
302 B
SYSTEMD

[Unit]
Description=Vault Agent
Requires=network-online.target
After=network-online.target
[Service]
EnvironmentFile=-/etc/default/vault-agent-consul-jwt
Restart=on-failure
ExecStart=/usr/bin/vault agent -config=/etc/vault.d/agent/consul-jwt.hcl
KillSignal=SIGINT
[Install]
WantedBy=multi-user.target