aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-06-15 12:58:10 +0200
committerLoïc Hoguin <[email protected]>2020-06-15 12:58:10 +0200
commit25c7489370f2c6758a6bc18386587c1c409c2496 (patch)
treebaf8d03bc45fa77a6df186386298800ee90730ce
parentcf4767bedfdcdcd880adf976b98a85347ec996c2 (diff)
downloadci-25c7489370f2c6758a6bc18386587c1c409c2496.tar.gz
ci-25c7489370f2c6758a6bc18386587c1c409c2496.tar.bz2
ci-25c7489370f2c6758a6bc18386587c1c409c2496.zip
Fix the ranch_prometheus_example environment
-rwxr-xr-xranch_prometheus_example.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranch_prometheus_example.sh b/ranch_prometheus_example.sh
index 0e96667..a85a8a2 100755
--- a/ranch_prometheus_example.sh
+++ b/ranch_prometheus_example.sh
@@ -20,9 +20,10 @@ archlinux_enable_cron
lxc_do mkdir -p /home/ninenines
lxc_do git clone https://github.com/juhlig/prometheus_ranch_example /home/ninenines/prometheus_ranch_example
+lxc_do make -C /home/ninenines/prometheus_ranch_example clean
lxc_do make -C /home/ninenines/prometheus_ranch_example
-lxc_do sh -c 'echo "@reboot /home/ninenines/prometheus_ranch_example start" >> tmpcron'
+lxc_do sh -c 'echo "@reboot /home/ninenines/prometheus_ranch_example/_rel/prometheus_ranch_example_release/bin/prometheus_ranch_example_release start" >> tmpcron'
lxc_do sh -c 'crontab tmpcron'
lxc_do sh -c 'rm tmpcron'