1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-zabbix-proxy-0.1/createlinks mezzanine_patched_smeserver-zabbix-proxy-0.1/createlinks |
2 |
|
|
--- smeserver-zabbix-proxy-0.1/createlinks 2009-02-27 14:28:17.000000000 +0100 |
3 |
|
|
+++ mezzanine_patched_smeserver-zabbix-proxy-0.1/createlinks 2009-02-27 14:27:58.000000000 +0100 |
4 |
|
|
@@ -2,26 +2,15 @@ |
5 |
|
|
|
6 |
|
|
use esmith::Build::CreateLinks qw(:all); |
7 |
|
|
|
8 |
|
|
-#my $event = 'zabbix-proxy-update'; |
9 |
|
|
|
10 |
|
|
# Templates to expand |
11 |
|
|
templates2events("/etc/zabbix/zabbix_proxy.conf", qw(zabbix-proxy-update bootstrap-console-save)); |
12 |
|
|
-#templates2events("/etc/zabbix/zabbix.conf.php", qw(zabbix-server-update bootstrap-console-save)); |
13 |
|
|
templates2events("/etc/sudoers", $event); |
14 |
|
|
-#templates2events("/var/lib/zabbix/bin/sendxmpp", $event); |
15 |
|
|
templates2events("/etc/e-smith/sql/init/80zabbix-proxy", qw(zabbix-proxy-update bootstrap-console-save)); |
16 |
|
|
|
17 |
|
|
# Services to restart |
18 |
|
|
-safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init"); |
19 |
|
|
-#safe_symlink("sigusr1", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); |
20 |
|
|
-safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/zabbix-proxy"); |
21 |
|
|
- |
22 |
|
|
-# PHP header and footer |
23 |
|
|
-#safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/etc/zabbix/zabbix.conf.php/template-begin"); |
24 |
|
|
-#safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/etc/zabbix/zabbix.conf.php/template-end"); |
25 |
|
|
- |
26 |
|
|
-# Bash header |
27 |
|
|
-#safe_symlink("/etc/e-smith/templates-default/template-begin-shell", "root/etc/e-smith/templates/var/lib/zabbix/bin/sendxmpp/template-begin"); |
28 |
|
|
+safe_symlink("restart", "root/etc/e-smith/events/zabbix-proxy-update/services2adjust/mysql.init"); |
29 |
|
|
+safe_symlink("restart", "root/etc/e-smith/events/zabbix-proxy-update/services2adjust/zabbix-proxy"); |
30 |
|
|
|
31 |
|
|
# Start and stop links |
32 |
|
|
service_link_enhanced("zabbix-proxy", "S99", "7"); |