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.
29 lines
1.4 KiB
29 lines
1.4 KiB
#!/usr/bin/perl -w
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
|
|
|
service_link_enhanced("memcached-sogo", "S55", "7");
|
|
service_link_enhanced("sogod", "S85", "7");
|
|
|
|
templates2events("/etc/e-smith/sql/init/sogo", qw(email-update bootstrap-console-save));
|
|
templates2events("/etc/cron.d/sogo-alarm", qw(email-update bootstrap-console-save));
|
|
templates2events("/var/lib/sogo/GNUstep/Defaults/.GNUstepDefaults", qw(email-update bootstrap-console-save pre-backup));
|
|
templates2events("/etc/sysconfig/sogo", qw(email-update bootstrap-console-save));
|
|
templates2events("/etc/logrotate.d/sogo", qw(email-update bootstrap-console-save));
|
|
|
|
safe_symlink("restart", "root/etc/e-smith/events/email-update/services2adjust/sogod");
|
|
safe_symlink("restart", "root/etc/e-smith/events/email-update/services2adjust/memcached-sogo");
|
|
safe_symlink("restart", "root/etc/e-smith/events/email-update/services2adjust/mysql.init");
|
|
|
|
event_link("sogo-delete-backup", "pre-backup", "60");
|
|
event_link("sogo-delete-backup", "post-backup", "60");
|
|
event_link("sogo-backup", "pre-backup", "70");
|
|
event_link("sogo-delete-user", "user-delete", "10");
|
|
event_link("sogo-upgrade", "email-update", "20");
|
|
|
|
panel_link("sogo", "manager");
|
|
|
|
safe_touch("root/var/service/memcached-sogo/down");
|
|
safe_symlink("../daemontools" , 'root/etc/rc.d/init.d/supervise/memcached-sogo');
|
|
safe_symlink("/var/service/memcached-sogo" , 'root/service/memcached-sogo');
|
|
|
|
|