This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
zhangzhihan-device-manageme…/roles/consul-internal_mcn23/files/consul-internal/etc/systemd/consul-client.service
2020-05-08 18:19:47 +08:00

15 lines
456 B
Desktop File

# Systemd unit file for default tomcat
#
[Unit]
Description=Consul-internal
After=network.target
[Service]
EnvironmentFile=/opt/consul-internal/etc/systemd/consul.conf
ExecStartPre=/opt/consul-internal/script/consul_bind_ip_generate.sh
ExecStart=/opt/consul-internal/bin/consul agent -config-dir /opt/consul-internal/etc/ -config-file /opt/consul-internal/etc/consul/config-client.json -bind ${CONSUL_BIND_ADDRESS}
[Install]
WantedBy=multi-user.target