1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Fix php conf & image permissions (#238)

* Transfer to normal php conf

* Transfer to normal php conf

* Add running directory

* Rename php_fpm.conf to php-fpm.conf

* bump version

* Auto-update README

* bump minimum YNH version

* switch back to extra_php

* Set proper group owner for php

Using new helper 65d2571072

* Set proper group owner for php

* manifest: fix yunohost version requirement typo

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
lapineige 2023-09-01 08:20:49 +02:00 committed by GitHub
parent fd5d09ebe6
commit 237879b38e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 6 deletions

View file

@ -2,6 +2,3 @@
php_admin_value[upload_max_filesize] = 100M
php_admin_value[post_max_size] = 100M
; Group should not be pixelfed, unless image (folder) access rights are not working
group = www-data

View file

@ -17,7 +17,7 @@ userdoc = "https://docs.pixelfed.org/"
code = "https://github.com/pixelfed/pixelfed"
[integration]
yunohost = ">= 11.1.19"
yunohost = ">= 11.2.4"
architectures = "all"
multi_instance = true
ldap = false

View file

@ -61,7 +61,7 @@ ynh_replace_string --match_string="'/usr/sbin/sendmail -bs'" --replace_string="'
#=================================================
ynh_script_progression --message="Configuring PHP-FPM..." --weight=1
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --group=www-data
ynh_add_nginx_config

View file

@ -133,7 +133,7 @@ ynh_replace_string --match_string="'/usr/sbin/sendmail -bs'" --replace_string="'
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint
ynh_add_fpm_config --usage=$fpm_usage --footprint=$fpm_footprint --group=www-data
#=================================================
# NGINX CONFIGURATION