From fb48c76cd0076b5a9257d6a8c891a4bb5e78b769 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 26 Jan 2021 09:09:25 +0100 Subject: [PATCH] Fix --- conf/nginx.conf | 10 ---------- manifest.json | 2 +- scripts/_common.sh | 2 +- scripts/install | 2 +- 4 files changed, 3 insertions(+), 13 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index f3341ad..d106044 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,7 +7,6 @@ location __PATH__/ { rewrite ^ https://$server_name$request_uri? permanent; } - # Example PHP configuration (remove if not used) index index.html index.php; # Common parameter to increase upload size limit in conjuction with dedicated php-fpm file @@ -17,21 +16,12 @@ location __PATH__/ { location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock; - - # If you don't use a dedicated fpm config for your app, - # use a general fpm pool. - # This is to be used INSTEAD of line above - # Don't forget to adjust scripts install/upgrade/remove/backup accordingly - # - #fastcgi_pass unix:/var/run/php5-fpm.sock; - fastcgi_index index.php; include fastcgi_params; fastcgi_param REMOTE_USER $remote_user; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $request_filename; } - # PHP configuration end # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; diff --git a/manifest.json b/manifest.json index f1a3c08..d1a4683 100644 --- a/manifest.json +++ b/manifest.json @@ -8,7 +8,7 @@ }, "version": "0.5~ynh1", "url": "https://github.com/bfabiszewski/ulogger-server", - "license": "GPL", + "license": "AGPL-3.0-only", "maintainer": { "name": "Anmol Sharma", "email": "anmol@datamol.org" diff --git a/scripts/_common.sh b/scripts/_common.sh index 90061b9..9e3b7ca 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -80,5 +80,5 @@ ynh_smart_mktemp () { ynh_die "Insufficient free space to continue..." fi - echo "$(sudo mktemp --directory --tmpdir="$tmpdir")" + echo "$(mktemp --directory --tmpdir="$tmpdir")" } diff --git a/scripts/install b/scripts/install index 5c53fce..5dd3903 100644 --- a/scripts/install +++ b/scripts/install @@ -171,7 +171,7 @@ chown -R $app: $final_path #================================================= # SETUP SSOWAT #================================================= -ynh_script_progression --message="Configuring SSOwat..." +ynh_script_progression --message="Configuring permissions..." # Make app public if necessary if [ $is_public -eq 1 ]