mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
Update upgrade
This commit is contained in:
parent
f81c6b7021
commit
9587c5c59c
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
# Import Yunohost template
|
# Import Yunohost template
|
||||||
#=================================================
|
#=================================================
|
||||||
zabbixFullpath=https://$domain/$path_url
|
zabbixFullpath=https://$domain$path_url
|
||||||
localpath=$(find /var/cache/yunohost/ -name "Template_Yunohost.xml")
|
localpath=$(find /var/cache/yunohost/ -name "Template_Yunohost.xml")
|
||||||
|
|
||||||
curl -s --cookie cookiejar.txt --cookie-jar cookiejar.txt \
|
curl -s --cookie cookiejar.txt --cookie-jar cookiejar.txt \
|
||||||
|
@ -105,7 +105,7 @@ curl -s --cookie cookiejar.txt --cookie-jar cookiejar.txt \
|
||||||
--form "backurl=templates.php" \
|
--form "backurl=templates.php" \
|
||||||
--form "form_refresh=1" \
|
--form "form_refresh=1" \
|
||||||
--form "sid=${sid}" \ \
|
--form "sid=${sid}" \ \
|
||||||
"${zabbixFullpath}conf.import.php?rules_preset=template"
|
"${zabbixFullpath}/conf.import.php?rules_preset=template"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# Disable default admin for security issue
|
# Disable default admin for security issue
|
||||||
|
|
Loading…
Add table
Reference in a new issue