1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minchat_ynh.git synced 2024-09-03 19:36:29 +02:00

[fix] php5-fpm bug

This commit is contained in:
magikcypress 2017-05-31 15:50:08 +02:00
parent 7de345fd3b
commit b77ccdcfba
No known key found for this signature in database
GPG key ID: 3B3C7CD61957AC9A

View file

@ -37,7 +37,7 @@ if [ -f $nginx_conf ]; then
You should safely delete it before restoring this app."
fi
# Check configuration files php-fpm
phpfpm_conf="/etc/php5/fpm/pool.d/php-fpm-${app}.conf"
phpfpm_conf="/etc/php5/fpm/pool.d/${app}.conf"
if [ -f $phpfpm_conf ]; then
ynh_die "The PHP FPM configuration already exists at '${phpfpm_conf}'.
You should safely delete it before restoring this app."
@ -76,5 +76,6 @@ then
fi
# Reload service
sudo systemctl reload php5-fpm
sudo systemctl reload nginx
sudo yunohost app ssowatconf