50 lines
947 B
Plaintext
50 lines
947 B
Plaintext
|
#!/usr/bin/perl
|
||
|
use strict;
|
||
|
use esmith::Build::CreateLinks qw(:all);
|
||
|
|
||
|
my $pkg= "smeserver-autodiscover";
|
||
|
my $event = "${pkg}-update";
|
||
|
|
||
|
#event_actions($event, qw(
|
||
|
# systemd-default 88
|
||
|
# systemd-reload 89
|
||
|
#));
|
||
|
|
||
|
event_templates($event, qw(
|
||
|
/var/www/Autodiscover/Mozilla.php
|
||
|
/var/www/Autodiscover/Autodiscover.php
|
||
|
/etc/httpd/conf/httpd.conf
|
||
|
));
|
||
|
|
||
|
event_services($event, qw(
|
||
|
httpd-e-smith reload-or-restart
|
||
|
));
|
||
|
|
||
|
#email-update
|
||
|
$event ="email-update";
|
||
|
event_templates($event, qw(
|
||
|
/var/www/Autodiscover/Mozilla.php
|
||
|
/var/www/Autodiscover/Autodiscover.php
|
||
|
));
|
||
|
|
||
|
|
||
|
#webapps-update
|
||
|
$event ="webapps-update";
|
||
|
event_templates($event, qw(
|
||
|
/var/www/Autodiscover/Mozilla.php
|
||
|
/var/www/Autodiscover/Autodiscover.php
|
||
|
));
|
||
|
|
||
|
#remoteaccess-update
|
||
|
$event ="remoteaccess-update";
|
||
|
event_templates($event, qw(
|
||
|
/var/www/Autodiscover/Mozilla.php
|
||
|
/var/www/Autodiscover/Autodiscover.php
|
||
|
));
|
||
|
|
||
|
|
||
|
|
||
|
#use esmith::Build::Backup qw(:all);
|
||
|
#backup_includes($pkg, qw( ));
|
||
|
|