From 853981e8a2e336959c994a8db8366f519f002c58 Mon Sep 17 00:00:00 2001 From: Mickael-Martin Date: Fri, 29 Mar 2019 12:49:32 +0100 Subject: [PATCH] clean old code about services --- scripts/restore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/restore b/scripts/restore index ea6c963..a00113a 100644 --- a/scripts/restore +++ b/scripts/restore @@ -72,9 +72,6 @@ rm $final_path/conf/zabbix.conf.php ynh_app_setting_set $app final_path $final_path -yunohost service add zabbix-server -d "Management of Zabbix Server - Monitoring server" -yunohost service add zabbix-agent -d "Management of Zabbix Agent" - #================================================= # NGINX CONFIGURATION #================================================= @@ -118,6 +115,7 @@ chown -R www-data. /usr/share/zabbix ynh_restore_file "/etc/zabbix" +# systemd and yunohost service management systemctl enable zabbix-server && systemctl start zabbix-server yunohost service add snmpd -d "Management of SNMP Daemon"