mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 14:24:39 +00:00
6c0008913a
Copied from hashicorp/linux-packaging
24e7e2675b
Signed-off-by: Scott Macfarlane <smacfarlane@hashicorp.com>
22 lines
498 B
Desktop File
22 lines
498 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]
|
|
EnvironmentFile=/etc/consul.d/consul.env
|
|
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
|
|
|