49 |
-/sbin/service zabbix-server stop 1>/dev/null |
-/sbin/service zabbix-server stop 1>/dev/null |
50 |
-/sbin/service mysql.init restart 1>/dev/null |
-/sbin/service mysql.init restart 1>/dev/null |
51 |
-/sbin/service zabbix-server start 1>/dev/null |
-/sbin/service zabbix-server start 1>/dev/null |
52 |
+/sbin/systemctl stop zabbix-server 1>/dev/null |
+/usr/bin/systemctl stop zabbix-server 1>/dev/null |
53 |
+/sbin/systemctl restart mysql.init 1>/dev/null |
+/usr/bin/systemctl restart mysql.init 1>/dev/null |
54 |
+/sbin/systemctl start zabbix-server 1>/dev/null |
+/usr/bin/systemctl start zabbix-server 1>/dev/null |
55 |
exit 0 |
exit 0 |
56 |
|
|
57 |
diff -urN smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web |
diff -urN smeserver-zabbix-server-0.1.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web smeserver-zabbix-server-0.1/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98zabbix-web |