2023-06-03 11:59:47 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Consul Envoy Proxy for Adguard.
|
|
|
|
After=adguard.service,consul.service
|
|
|
|
|
|
|
|
[Service]
|
2023-06-03 23:02:00 +00:00
|
|
|
EnvironmentFile=-{{ deploy_adguard_directory }}/adguard-connect-proxy.env
|
|
|
|
ExecStart=/usr/bin/consul connect envoy -sidecar-for {{ deploy_adguard_consul['configuration']['service']['name'] }}
|
2023-06-03 11:59:47 +00:00
|
|
|
Restart=always
|
|
|
|
RestartSec=3
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|