|
@@ -7,8 +7,6 @@ find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?date.timezone#s#^.*
|
|
|
find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?post_max_size#s#^.*#post_max_size = 32M#" {} \;
|
|
find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?post_max_size#s#^.*#post_max_size = 32M#" {} \;
|
|
|
find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?upload_max_filesize#s#^.*#upload_max_filesize = 32M#" {} \;
|
|
find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?upload_max_filesize#s#^.*#upload_max_filesize = 32M#" {} \;
|
|
|
|
|
|
|
|
-php -f ./cli/prepare.php >/dev/null
|
|
|
|
|
-
|
|
|
|
|
if [ -n "$LISTEN" ]; then
|
|
if [ -n "$LISTEN" ]; then
|
|
|
find /etc/apache2/ -type f -name FreshRSS.Apache.conf -exec sed -r -i "\\#^Listen#s#^.*#Listen $LISTEN#" {} \;
|
|
find /etc/apache2/ -type f -name FreshRSS.Apache.conf -exec sed -r -i "\\#^Listen#s#^.*#Listen $LISTEN#" {} \;
|
|
|
fi
|
|
fi
|
|
@@ -24,6 +22,10 @@ if [ -n "$CRON_MIN" ]; then
|
|
|
-r "s#^[^ ]+ #$CRON_MIN #" | crontab -
|
|
-r "s#^[^ ]+ #$CRON_MIN #" | crontab -
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
|
|
+./cli/access-permissions.sh
|
|
|
|
|
+
|
|
|
|
|
+php -f ./cli/prepare.php >/dev/null
|
|
|
|
|
+
|
|
|
if [ -n "$FRESHRSS_INSTALL" ]; then
|
|
if [ -n "$FRESHRSS_INSTALL" ]; then
|
|
|
# shellcheck disable=SC2046
|
|
# shellcheck disable=SC2046
|
|
|
php -f ./cli/do-install.php -- \
|
|
php -f ./cli/do-install.php -- \
|
|
@@ -57,9 +59,6 @@ if [ -n "$FRESHRSS_USER" ]; then
|
|
|
fi
|
|
fi
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
-chown -R :www-data .
|
|
|
|
|
-chmod -R g+r .
|
|
|
|
|
-chmod -R g+w ./data/
|
|
|
|
|
-chmod g+x ./extensions/
|
|
|
|
|
|
|
+./cli/access-permissions.sh
|
|
|
|
|
|
|
|
exec "$@"
|
|
exec "$@"
|