15 lines
456 B
Desktop File
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
|