-
Notifications
You must be signed in to change notification settings - Fork 1
/
createlinks
29 lines (23 loc) · 934 Bytes
/
createlinks
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
my $event = 'nethserver-automysqlbackup-update';
event_actions($event,
'initialize-default-databases' => '00',
'automysqlbackup.conf'=>'01',
'automysqlbackup-mysql.conf'=>'02',
'automysqlbackup-rh-mariadb101.conf'=>'02',
'automysqlbackup-rh-mariadb102.conf'=>'02',
'automysqlbackup-rh-mariadb103.conf'=>'02');
templates2events("/etc/cron.d/runmysqlbackup", $event);
$event = 'nethserver-rh-mariadb101-update';
event_actions($event,
'automysqlbackup-rh-mariadb101.conf'=>'95');
templates2events("/etc/cron.d/runmysqlbackup", $event);
$event = 'nethserver-rh-mariadb102-update';
event_actions($event,
'automysqlbackup-rh-mariadb102.conf'=>'95');
templates2events("/etc/cron.d/runmysqlbackup", $event);
$event = 'nethserver-rh-mariadb103-update';
event_actions($event,
'automysqlbackup-rh-mariadb103.conf'=>'95');
templates2events("/etc/cron.d/runmysqlbackup", $event);