Browse Source

chore: Add consul systemd file

pull/10/head
Karan Sharma 6 months ago
committed by GitHub
parent
commit
a09fcc1d0a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 24
      docs/SETUP.md

24
docs/SETUP.md

@ -146,6 +146,30 @@ connect {
}
```
### Systemd Unit
```
[Unit]
Description="HashiCorp Consul - A service mesh solution"
Documentation=https://www.consul.io/
Requires=network-online.target
After=network-online.target
ConditionFileNotEmpty=/etc/consul.d/consul.hcl
[Service]
User=consul
Group=consul
ExecStart=/usr/bin/consul agent -config-dir=/etc/consul.d/
ExecReload=/bin/kill --signal HUP $MAINPID
KillMode=process
KillSignal=SIGTERM
Restart=on-failure
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target
```
## Vault
**WIP**

Loading…
Cancel
Save