소스 검색

clean old code about services

Mickael-Martin 7 년 전
부모
커밋
853981e8a2
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      scripts/restore

+ 1 - 3
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"