initial commit of file from CVS for smeserver-zabbix-proxy on Sat Sep 7 21:18:29 AEST 2024
This commit is contained in:
19
createlinks
Normal file
19
createlinks
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/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");
|
||||
|
Reference in New Issue
Block a user