17 lines
809 B
Perl
17 lines
809 B
Perl
#!/usr/bin/perl -w
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
|
|
|
templates2events("/etc/clamav-unofficial-sigs/os.conf", qw(email-update bootstrap-console-save clamav-update));
|
|
|
|
my $event="smeserver-clamav-unofficial-sigs-update";
|
|
templates2events("/etc/clamav-unofficial-sigs/os.conf",$event);
|
|
#safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/clamav-unofficial-sigs");
|
|
#clamav-unofficial-sigs.service clamav-unofficial-sigs.timer
|
|
event_link("systemd-default", $event, "88");
|
|
event_link("systemd-reload", $event, "89");
|
|
event_link("clamav-unofficial-sigs-folders", $event, "55");
|
|
use esmith::Build::Backup qw(:all);
|
|
backup_includes("smeserver-clamav-unofficial-sigs", qw(/etc/clamav-unofficial-sigs/master.conf /etc/clamav-unofficial-sigs/user.conf /var/lib/clamav-unofficial-sigs/));
|
|
|