344d6d76ce
The prometheus-proxy service is called octavia-prometheus-proxy in RDO's RPMs [0]. Add a svc-map for the service name to fix the amphora-agent element for these distros. [0] https://review.rdoproject.org/r/c/openstack/octavia-distgit/+/44152 Partial-Bug: 1992668 Change-Id: Ie739cd582103d1aab3021c56654e395b5919358f
13 lines
191 B
Bash
Executable File
13 lines
191 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
if [ "$DIB_INIT_SYSTEM" == "systemd" ]; then
|
|
systemctl enable $(svc-map prometheus-proxy)
|
|
fi
|