Put PHP-FPM pool conf in www.conf
This commit is contained in:
parent
6d146dc619
commit
b810bb40f8
|
@ -6,7 +6,6 @@ use esmith::Build::CreateLinks qw(:all);
|
|||
templates2events("/etc/e-smith/sql/init/tt-rss", qw(bootstrap-console-save webapps-update));
|
||||
templates2events("/usr/share/tt-rss/config.php", qw(bootstrap-console-save webapps-update));
|
||||
templates2events("/etc/cron.d/tt-rss", qw(bootstrap-console-save webapps-update));
|
||||
templates2events("/etc/opt/remi/php71/php-fpm.d/tt-rss.conf", qw(bootstrap-console-save webapps-update));
|
||||
|
||||
# tt-rss daemon
|
||||
safe_symlink("restart", "root/etc/e-smith/events/webapps-update/services2adjust/tt-rss");
|
||||
|
@ -22,4 +21,3 @@ service_link_enhanced("tt-rss", "K10", "0");
|
|||
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");
|
||||
|
||||
safe_symlink("/etc/e-smith/templates-default/template-begin-ini", "root/etc/e-smith/templates/etc/opt/remi/php71/php-fpm.d/tt-rss.conf/template-begin");
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
{
|
||||
if ((${'tt-rss'}{status} || 'disabled') eq 'enabled){
|
||||
$OUT .=<<_EOF;
|
||||
|
||||
[php71-tt-rss]
|
||||
user = www
|
||||
group = www
|
||||
|
@ -34,3 +38,10 @@ php_admin_flag[file_upload] = off
|
|||
php_admin_flag[session.cookie_httponly] = on
|
||||
php_admin_flag[allow_url_include] = off
|
||||
php_admin_value[session.save_handler] = files
|
||||
|
||||
_EOF
|
||||
}
|
||||
else{
|
||||
$OUT .= '; Tiny Tiny RSS is disabled';
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue