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:
parent
fd5d09ebe6
commit
237879b38e
4 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue