1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zabbix_ynh.git synced 2024-09-03 20:36:14 +02:00

restart services

This commit is contained in:
Mickael-Martin 2019-11-04 14:09:37 +01:00
parent 562d46756c
commit 13450fb9db

View file

@ -153,6 +153,9 @@ then
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
yunohost service stop zabbix-server
yunohost service stop zabbix-agent
cp -rp /etc/zabbix /tmp/
cp -p /usr/share/zabbix/conf/zabbix.conf.php /tmp/
@ -174,6 +177,9 @@ then
yunohost service add zabbix-server -d "Management Zabbix server daemon : Collect, agregate, compute and notify"
yunohost service add zabbix-agent -d "Management Zabbix agent daemon : send informations about this host to the server"
yunohost service start zabbix-server
yunohost service start zabbix-agent
#test if zabbix server is started
check_proc_zabbixagent