mirror of
https://github.com/YunoHost-Apps/garradin_ynh.git
synced 2024-09-03 18:36:17 +02:00
try to debug
This commit is contained in:
parent
2fb37a8951
commit
f54c767d2a
7 changed files with 8 additions and 8 deletions
|
@ -16,7 +16,7 @@ location __PATH__ {
|
||||||
try_files $uri $uri/ index.php;
|
try_files $uri $uri/ index.php;
|
||||||
location ~ [^/]\.php(/|$) {
|
location ~ [^/]\.php(/|$) {
|
||||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||||
fastcgi_pass unix:/var/run/php7.0-fpm-__NAME__.sock;
|
fastcgi_pass unix:/var/run/php-fpm-__NAME__.sock;
|
||||||
|
|
||||||
# If you don't use a dedicated fpm config for your app,
|
# If you don't use a dedicated fpm config for your app,
|
||||||
# use a general fpm pool.
|
# use a general fpm pool.
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
"nginx",
|
"nginx",
|
||||||
"php7.0-fpm"
|
"php-fpm"
|
||||||
],
|
],
|
||||||
"arguments": {
|
"arguments": {
|
||||||
"install" : [
|
"install" : [
|
||||||
|
|
|
@ -48,8 +48,8 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
# BACKUP THE PHP-FPM CONFIGURATION
|
# BACKUP THE PHP-FPM CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup "/etc/php7.0/fpm/pool.d/$app.conf"
|
ynh_backup "/etc/php/fpm/pool.d/$app.conf"
|
||||||
ynh_backup "/etc/php7.0/fpm/conf.d/20-$app.ini"
|
ynh_backup "/etc/php/fpm/conf.d/20-$app.ini"
|
||||||
|
|
||||||
# Backup directory location for the app from where the script is executed and
|
# Backup directory location for the app from where the script is executed and
|
||||||
# which will be compressed afterward
|
# which will be compressed afterward
|
||||||
|
|
|
@ -55,7 +55,7 @@ ynh_app_setting_set $app is_public $is_public
|
||||||
|
|
||||||
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
||||||
then
|
then
|
||||||
ynh_install_app_dependencies php7.0-sqlite3
|
ynh_install_app_dependencies php-sqlite3
|
||||||
else
|
else
|
||||||
ynh_install_app_dependencies php5-sqlite
|
ynh_install_app_dependencies php5-sqlite
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -55,7 +55,7 @@ ynh_app_setting_set $app is_public $is_public
|
||||||
|
|
||||||
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
||||||
then
|
then
|
||||||
ynh_install_app_dependencies php7.0-sqlite3
|
ynh_install_app_dependencies php-sqlite3
|
||||||
else
|
else
|
||||||
ynh_install_app_dependencies php5-sqlite
|
ynh_install_app_dependencies php5-sqlite
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -55,7 +55,7 @@ ynh_app_setting_set $app is_public $is_public
|
||||||
|
|
||||||
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
||||||
then
|
then
|
||||||
ynh_install_app_dependencies php7.0-sqlite3
|
ynh_install_app_dependencies php-sqlite3
|
||||||
else
|
else
|
||||||
ynh_install_app_dependencies php5-sqlite
|
ynh_install_app_dependencies php5-sqlite
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -55,7 +55,7 @@ ynh_app_setting_set $app is_public $is_public
|
||||||
|
|
||||||
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
if [ "$(lsb_release --codename --short)" != "jessie" ]
|
||||||
then
|
then
|
||||||
ynh_install_app_dependencies php7.0-sqlite3
|
ynh_install_app_dependencies php-sqlite3
|
||||||
else
|
else
|
||||||
ynh_install_app_dependencies php5-sqlite
|
ynh_install_app_dependencies php5-sqlite
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue