1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/influxdb_v2_ynh.git synced 2024-09-03 19:26:11 +02:00

Merge pull request #4 from kuba-orlik/patch-1

Quote password so it can contain spaces
This commit is contained in:
Alexandre Aubin 2024-01-22 16:24:11 +01:00 committed by GitHub
commit b140172833
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -98,7 +98,7 @@ ynh_script_progression --message="Configuring $app ..." --weight=30
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="msg=Listening"
# First setup InfluxDB v2 using influx
ynh_exec_as $app $install_dir/influx setup --force --skip-verify --name default --configs-path $install_dir/.influxdbv2/configs --host http://localhost:$port --bucket $influxdb_bucket_name --org $influxdb_org_name --username $admin --password $password --retention $influxdb_bucket_retention --token $influxdb_admin_token
ynh_exec_as $app $install_dir/influx setup --force --skip-verify --name default --configs-path $install_dir/.influxdbv2/configs --host http://localhost:$port --bucket $influxdb_bucket_name --org $influxdb_org_name --username $admin --password "$password" --retention $influxdb_bucket_retention --token $influxdb_admin_token
#=================================================
# END OF SCRIPT