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
|
@ -155,7 +155,13 @@ then
|
|||
cp -pf /tmp/zabbix.conf.php /usr/share/zabbix/conf/
|
||||
|
||||
rm -fr /tmp/zabbix*
|
||||
|
||||
|
||||
#test if zabbix server is started
|
||||
check_proc_zabbixagent
|
||||
|
||||
#test if zabbix agent is started
|
||||
check_proc_zabbixserver
|
||||
|
||||
else
|
||||
ynh_print_info "No update from repo ! (Already up to date)"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue