initial commit of file from CVS for smeserver-onlyoffice on Sat Sep 7 20:48:46 AEST 2024
This commit is contained in:
62
createlinks
Normal file
62
createlinks
Normal file
@@ -0,0 +1,62 @@
|
||||
#!/usr/bin/perl
|
||||
use strict;
|
||||
use esmith::Build::CreateLinks qw(:all);
|
||||
|
||||
my $pkg = "smeserver-onlyoffice";
|
||||
my $event = "${pkg}-update";
|
||||
|
||||
event_actions($event, qw(
|
||||
smeserver-onlyoffice-conf 20
|
||||
systemd-default 88
|
||||
systemd-reload 89
|
||||
));
|
||||
|
||||
event_templates($event, qw(
|
||||
/etc/nginx/conf.d/ds.conf
|
||||
/etc/nginx/includes/http-common.conf
|
||||
/var/lib/pgsql/data/pg_hba.conf
|
||||
/etc/rc.d/init.d/masq
|
||||
/etc/httpd/conf/httpd.conf
|
||||
/etc/nginx/certificate.crt
|
||||
));
|
||||
|
||||
event_services($event, qw(
|
||||
nginx restart
|
||||
httpd-e-smith restart
|
||||
postgresql-13 restart
|
||||
redis restart
|
||||
supervisord restart
|
||||
rabbitmq-server restart
|
||||
masq restart
|
||||
ds-docservice restart
|
||||
ds-metrics restart
|
||||
ds-converter restart
|
||||
));
|
||||
|
||||
#use esmith::Build::Backup qw(:all);
|
||||
#backup_includes($pkg, qw( ));
|
||||
|
||||
|
||||
## add to nextcloud-update event
|
||||
## add to other events
|
||||
$event = "ssl-update";
|
||||
event_templates($event, qw(
|
||||
/etc/nginx/conf.d/ds.conf
|
||||
/etc/nginx/includes/http-common.conf
|
||||
/etc/nginx/certificate.crt
|
||||
));
|
||||
|
||||
event_services($event, qw(
|
||||
nginx restart
|
||||
));
|
||||
|
||||
|
||||
$event = "nextcloud-update";
|
||||
event_actions($event, qw(
|
||||
smeserver-onlyoffice-conf 20
|
||||
));
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user