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:
parent
888d176cfb
commit
d920597bd5
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue