1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunomonitor_ynh.git synced 2024-09-03 17:46:11 +02:00

[fix] YAML format

This commit is contained in:
ljf 2019-11-19 14:39:32 +01:00
parent 888d176cfb
commit d920597bd5

View file

@ -109,6 +109,10 @@ echo "sms_apis: [$sms_api]" >> $final_path/conf/$app.yml
echo "monitored_servers: [$monitored_servers]" >> $final_path/conf/$app.yml
echo "monitoring_servers: [$monitoring_servers]" >> $final_path/conf/$app.yml
echo "cachet_apis: []" >> $final_path/conf/$app.yml
sed -i 's/,/","/g' $final_path/conf/$app.yml
sed -i 's/[/["/g' $final_path/conf/$app.yml
sed -i 's/]/"]/g' $final_path/conf/$app.yml
sed -i 's/[""]/[]/g' $final_path/conf/$app.yml
#=================================================
# STORE THE CONFIG FILE CHECKSUM