CT freshrss: install youtoube extensions by default
This commit is contained in:
@@ -27,7 +27,7 @@ php_admin_value[max_input_time] = 15
|
|||||||
php_admin_value[cgi.fix_pathinfo] = 0
|
php_admin_value[cgi.fix_pathinfo] = 0
|
||||||
php_admin_value[allow_url_fopen] = 1
|
php_admin_value[allow_url_fopen] = 1
|
||||||
php_admin_value[file_uploads] = On
|
php_admin_value[file_uploads] = On
|
||||||
php_admin_value[open_basedir] = /opt/freshrss:/run/php-fpm83/php-fpm.sock:/tmp
|
php_admin_value[open_basedir] = /opt/freshrss:/opt/freshrss-Extensions:/run/php-fpm83/php-fpm.sock:/tmp
|
||||||
php_admin_value[session.use_strict_mode] = 1
|
php_admin_value[session.use_strict_mode] = 1
|
||||||
php_admin_value[session.cookie_httponly] = 1
|
php_admin_value[session.cookie_httponly] = 1
|
||||||
|
|
||||||
|
|||||||
@@ -19,6 +19,17 @@ tar -C /opt/freshrss -xzf /tmp/freshrss.tar.gz --strip 1
|
|||||||
chown -R nginx:nginx /opt/freshrss
|
chown -R nginx:nginx /opt/freshrss
|
||||||
rm /tmp/freshrss.tar.gz
|
rm /tmp/freshrss.tar.gz
|
||||||
|
|
||||||
|
#Install freshrss Extensions
|
||||||
|
mkdir -p /opt/freshrss-Extensions
|
||||||
|
##Download Extensions
|
||||||
|
git clone https://github.com/FreshRSS/Extensions.git /opt/freshrss-Extensions/Official
|
||||||
|
git clone https://github.com/cn-tools/cntools_FreshRssExtensions.git /opt/freshrss-Extensions/cntools
|
||||||
|
|
||||||
|
##Make needed Extensions available
|
||||||
|
ln -s /opt/freshrss-Extensions/Official/xExtension-YouTube /opt/freshrss/extensions/xExtension-YouTube
|
||||||
|
ln -s /opt/freshrss-Extensions/cntools/xExtension-YouTubeChannel2RssFeed /opt/freshrss/extensions/xExtension-YouTubeChannel2RssFeed
|
||||||
|
chown -R nginx:nginx /opt/freshrss-Extensions
|
||||||
|
|
||||||
#Enable services on boot
|
#Enable services on boot
|
||||||
rc-update add nginx
|
rc-update add nginx
|
||||||
rc-update add php-fpm83
|
rc-update add php-fpm83
|
||||||
Reference in New Issue
Block a user