initial commit of file from CVS for smeserver-tt-rss on Sat Sep 7 21:09:52 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 21:09:52 +10:00
parent 6d03a0526c
commit 6f0f7fedad
37 changed files with 973 additions and 2 deletions

32
createlinks Normal file
View File

@@ -0,0 +1,32 @@
#!/usr/bin/perl -w
use esmith::Build::CreateLinks qw(:all);
for my $event (qw(
bootstrap-console-save
smeserver-tt-rss-update
))
{
templates2events("/etc/e-smith/sql/init/tt-rss", $event);
templates2events("/usr/share/tt-rss/config.php", $event);
templates2events("/etc/cron.d/tt-rss", $event);
}
my $event = 'smeserver-tt-rss-update';
# Templates to expand
templates2events("/etc/httpd/conf/httpd.conf", $event);
templates2events("/etc/opt/remi/php74/php-fpm.d/www.conf", $event);
safe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/php74-php-fpm");
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init");;
# ttrss daemon
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ttrss");
# PHP header and footer
safe_symlink("/etc/e-smith/templates-default/template-begin-php", "root/etc/e-smith/templates/usr/share/tt-rss/config.php/template-begin");
#<!>safe_symlink("/etc/e-smith/templates-default/template-end-php", "root/etc/e-smith/templates/usr/share/tt-rss/config.php/template-end");