Commit 1321f0d
osmufe
Update init-influxdb.sh
Loop when try to create the database with parameters :
Example :
{code}
+ for i in '{30..0}'
+ influx -host 127.0.0.1 -port 8086 -execute 'CREATE DATABASE database'
+ echo 'influxdb init process in progress...'
influxdb init process in progress...
+ sleep 1
+ for i in '{30..0}'
+ influx -host 127.0.0.1 -port 8086 -execute 'CREATE DATABASE database'
influxdb init process in progress...
+ echo 'influxdb init process in progress...'
+ sleep 1
{code}1 parent 57a5ac9 commit 1321f0d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments