SIGTERM signal causes the consul process to shut down gracefully, however it returns -1. Do you think this return code is desired?
on graceful systemctl stop consul I get a failed state. Should be in stopped state tho.
● consul.service - "HashiCorp Consul - A service mesh solution" Loaded: loaded (/usr/lib/systemd/system/consul.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2022-03-25 10:01:17 UTC; 3min 8s ago Docs: https://www.consul.io/ Process: 21429 ExecStart=/usr/local/bin/consul agent -config-file=/etc/consul/config.json -config-dir=/etc/consul/consul.d/ -data-dir=/var/consul (code=exited, status=1/FAILURE) Main PID: 21429 (code=exited, status=1/FAILURE)