mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-30 03:56:12 +01:00
21 lines
468 B
Desktop File
21 lines
468 B
Desktop File
[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]
|
|
Type=notify
|
|
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
|