initial commit of file from CVS for smeserver-webshare on Sat Sep 7 21:15:27 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 21:15:27 +10:00
parent 609e015cb7
commit e4661a6aa1
90 changed files with 5344 additions and 2 deletions

26
createlinks Executable file
View File

@@ -0,0 +1,26 @@
#!/usr/bin/perl -w
# This script creates the symlinks needed by this RPM
# Specific support exists to create symlinks within e-smith web "panels"
# and for links from named "events" directories into the "actions" directory
use esmith::Build::CreateLinks qw(:all);
#--------------------------------------------------
# functions for user and manager panel
#--------------------------------------------------
my $panel = "manager";
panel_link("webshare", $panel);
my $event = "smeserver-webshare-update";
event_templates($event, qw(
/etc/httpd/conf/httpd.conf
));
event_services($event, qw(
php-fpm restart
httpd-e-smith restart
));
use esmith::Build::Backup qw(:all);
backup_includes("smeserver-webshare", qw(
/opt/webshare
));