mirror of
https://github.com/YunoHost-Apps/zabbix_ynh.git
synced 2024-09-03 20:36:14 +02:00
clean old code about services
This commit is contained in:
parent
d09e1bfd89
commit
853981e8a2
1 changed files with 1 additions and 3 deletions
|
@ -72,9 +72,6 @@ rm $final_path/conf/zabbix.conf.php
|
||||||
|
|
||||||
ynh_app_setting_set $app final_path $final_path
|
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
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -118,6 +115,7 @@ chown -R www-data. /usr/share/zabbix
|
||||||
|
|
||||||
ynh_restore_file "/etc/zabbix"
|
ynh_restore_file "/etc/zabbix"
|
||||||
|
|
||||||
|
# systemd and yunohost service management
|
||||||
systemctl enable zabbix-server && systemctl start zabbix-server
|
systemctl enable zabbix-server && systemctl start zabbix-server
|
||||||
|
|
||||||
yunohost service add snmpd -d "Management of SNMP Daemon"
|
yunohost service add snmpd -d "Management of SNMP Daemon"
|
||||||
|
|
Loading…
Add table
Reference in a new issue