mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
add check function after update process
This commit is contained in:
parent
3083f26c7d
commit
03d8ac7348
1 changed files with 7 additions and 1 deletions
|
@ -156,6 +156,12 @@ then
|
||||||
|
|
||||||
rm -fr /tmp/zabbix*
|
rm -fr /tmp/zabbix*
|
||||||
|
|
||||||
|
#test if zabbix server is started
|
||||||
|
check_proc_zabbixagent
|
||||||
|
|
||||||
|
#test if zabbix agent is started
|
||||||
|
check_proc_zabbixserver
|
||||||
|
|
||||||
else
|
else
|
||||||
ynh_print_info "No update from repo ! (Already up to date)"
|
ynh_print_info "No update from repo ! (Already up to date)"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue