7afe2fb243
This patch changes the inter-dependency between the prometheus-proxy systemd service unit and the amphora-agent service. This will stop systemd from shutting down the prometheus proxy should the amphora agent be stopped. Change-Id: I30c6c5809cc8568159feca193f38f62ca09874fd
15 lines
372 B
Desktop File
15 lines
372 B
Desktop File
[Unit]
|
|
Description=OpenStack Octavia Prometheus Proxy
|
|
After=network.target syslog.service amphora-agent.service
|
|
Wants=amphora-agent.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/local/bin/prometheus-proxy
|
|
KillMode=mixed
|
|
Restart=always
|
|
ExecStartPost=/bin/sh -c "echo $MAINPID > /var/run/prometheus-proxy.pid"
|
|
PIDFile=/var/run/prometheus-proxy.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|