Browse Source

Fix firewall opening

develop
William Petit 4 months ago
parent
commit
8f630edb20
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      dicos/72_haproxy_exporter.xml

+ 2
- 2
dicos/72_haproxy_exporter.xml View File

@@ -3,10 +3,10 @@
3 3
 	<files>
4 4
 		<file name='/etc/default/prometheus-haproxy-exporter' source="prometheus-haproxy-exporter.defaults" mkdir='True' rm='True'/>
5 5
 		<service servicelist='sl_haproxy_exporter'>prometheus-haproxy-exporter</service>
6
-		<service_access service='sl_haproxy_exporter'>
6
+		<service_access service='prometheus-haproxy-exporter'>
7 7
 			<port service_accesslist="sa_snd_haproxy">9101</port>
8 8
 		</service_access>
9
-		<service_restriction service='sl_haproxy_exporter'>
9
+		<service_restriction service='prometheus-haproxy-exporter'>
10 10
 			<ip interface='auto' netmask='255.255.255.255' ip_type='SymLinkOption'>snd_prometheus_server</ip>
11 11
 		</service_restriction>
12 12
 	</files>

Loading…
Cancel
Save