initial commit of file from CVS for smeserver-webshare on Sat Sep 7 21:15:27 AEST 2024
This commit is contained in:
26
createlinks
Executable file
26
createlinks
Executable 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
|
||||
));
|
Reference in New Issue
Block a user