Skip to content

Commit a467dbe

Browse files
committed
adding the data directory
1 parent 99f9d73 commit a467dbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes/service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
mode 0644
7676
end
7777

78-
prom_command='/opt/prometheus/prometheus -config.file=/opt/prometheus/prometheus.yml'
78+
prom_command='/opt/prometheus/prometheus -config.file=/opt/prometheus/prometheus.yml -storage.local.path=/opt/prometheus/data'
7979
supervisor_service "prometheus" do
8080
action :enable
8181
autostart true

0 commit comments

Comments
 (0)