You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
749 B
20 lines
749 B
![]()
12 years ago
|
#!/usr/bin/perl -w
|
||
|
|
||
|
use esmith::Build::CreateLinks qw(:all);
|
||
|
|
||
|
|
||
|
# Templates to expand
|
||
|
templates2events("/etc/zabbix/zabbix_proxy.conf", qw(zabbix-proxy-update bootstrap-console-save));
|
||
|
templates2events("/etc/sudoers", "zabbix-proxy-update");
|
||
|
templates2events("/etc/e-smith/sql/init/80zabbix-proxy", qw(zabbix-proxy-update bootstrap-console-save));
|
||
|
|
||
|
# Services to restart
|
||
|
safe_symlink("restart", "root/etc/e-smith/events/zabbix-proxy-update/services2adjust/mysql.init");
|
||
|
safe_symlink("restart", "root/etc/e-smith/events/zabbix-proxy-update/services2adjust/zabbix-proxy");
|
||
|
|
||
|
# Start and stop links
|
||
|
service_link_enhanced("zabbix-proxy", "S99", "7");
|
||
|
service_link_enhanced("zabbix-proxy", "K10", "6");
|
||
|
service_link_enhanced("zabbix-proxy", "K10", "0");
|
||
|
|