mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Cleanup temporary workaround
This commit is contained in:
parent
c34e2235b3
commit
e7e2b725cc
2 changed files with 0 additions and 8 deletions
|
@ -211,10 +211,6 @@ ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
|||
ynh_script_progression --message="Configuring application..."
|
||||
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
sed -i "s|user\s*=\s*$app|user = matrix-$app|g" /etc/php/7.*/fpm/pool.d/$app.conf
|
||||
sed -i "s|group\s*=\s*$app|group = matrix-$app|g" /etc/php/7.*/fpm/pool.d/$app.conf
|
||||
sed -i "s|chdir\s*=\s*/opt/yunohost/matrix-synapse.*|chdir = $final_www_path|g" /etc/php/7.*/fpm/pool.d/$app.conf
|
||||
ynh_store_file_checksum --file=$(ls /etc/php/7.*/fpm/pool.d/$app.conf)
|
||||
|
||||
configure_nginx
|
||||
|
||||
|
|
|
@ -390,10 +390,6 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
|
|||
ynh_script_progression --message="Configuring application..."
|
||||
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
sed -i "s|user\s*=\s*$app|user = matrix-$app|g" /etc/php/7.*/fpm/pool.d/$app.conf
|
||||
sed -i "s|group\s*=\s*$app|group = matrix-$app|g" /etc/php/7.*/fpm/pool.d/$app.conf
|
||||
sed -i "s|chdir\s*=\s*/opt/yunohost/matrix-synapse.*|chdir = $final_www_path|g" /etc/php/7.*/fpm/pool.d/$app.conf
|
||||
ynh_store_file_checksum --file=$(ls /etc/php/7.*/fpm/pool.d/$app.conf)
|
||||
|
||||
configure_nginx
|
||||
|
||||
|
|
Loading…
Reference in a new issue