mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Fix php-version
This commit is contained in:
parent
7cf8ba9549
commit
2c3165c391
1 changed files with 1 additions and 1 deletions
|
@ -329,7 +329,7 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
|||
# Create a dedicated php-fpm config
|
||||
ynh_script_progression --message="Configuring application..."
|
||||
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
ynh_add_fpm_config --usage=low --footprint=low --phpversion=8.2
|
||||
sed -i "s|user\s*=\s*$app|user = matrix-$app|g" /etc/php/*.*/fpm/pool.d/$app.conf
|
||||
sed -i "s|group\s*=\s*$app|group = matrix-$app|g" /etc/php/*.*/fpm/pool.d/$app.conf
|
||||
sed -i "s|chdir\s*=\s*/opt/yunohost/matrix-synapse.*|chdir = $final_www_path|g" /etc/php/*.*/fpm/pool.d/$app.conf
|
||||
|
|
Loading…
Reference in a new issue