/[smecontribs]/rpms/smeserver-zabbix-proxy/contribs7/smeserver-zabbix-proxy-0.1-createlinks_fixes.patch
ViewVC logotype

Contents of /rpms/smeserver-zabbix-proxy/contribs7/smeserver-zabbix-proxy-0.1-createlinks_fixes.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Mar 2 23:29:47 2009 UTC (15 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-zabbix-proxy-0_1-10_el4_sme, smeserver-zabbix-proxy-0_1-5_el4_sme, smeserver-zabbix-proxy-0_1-8_el4_sme, smeserver-zabbix-proxy-0_1-9_el4_sme, smeserver-zabbix-proxy-0_1-6_el4_sme, smeserver-zabbix-proxy-0_1-7_el4_sme, smeserver-zabbix-proxy-0_1-4_el4_sme, HEAD
Initial import of smeserver-zabbix-proxy

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");

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed