From 3d96d42f0e03c0596a8a014e930fa67e515fe038 Mon Sep 17 00:00:00 2001 From: Miraty Date: Sun, 25 Oct 2020 16:32:10 +0100 Subject: [PATCH] php7.0 > php7.3 --- conf/nginx.conf | 2 +- conf/php-fpm.conf | 2 +- manifest.json | 20 ++++++++------------ screenshot.png | Bin 4 files changed, 10 insertions(+), 14 deletions(-) mode change 100644 => 100755 screenshot.png diff --git a/conf/nginx.conf b/conf/nginx.conf index f2277ea..37de41d 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -18,7 +18,7 @@ location __PATH__/ { try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { fastcgi_split_path_info ^(.+?\.php)(/.*)$; - fastcgi_pass unix:/var/run/php/php7.0-fpm-__NAME__.sock; + fastcgi_pass unix:/var/run/php/php__PHPVERSION__-fpm-__NAME__.sock; fastcgi_index index.php; include fastcgi_params; diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index ab5dca9..ab1a471 100755 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -33,7 +33,7 @@ group = __USER__ ; (IPv6 and IPv4-mapped) on a specific port; ; '/path/to/unix/socket' - to listen on a unix socket. ; Note: This value is mandatory. -listen = /var/run/php/php7.0-fpm-__NAMETOCHANGE__.sock +listen = /var/run/php/php__PHPVERSION__-fpm-__NAMETOCHANGE__.sock ; Set listen(2) backlog. ; Default Value: 511 (-1 on FreeBSD and OpenBSD) diff --git a/manifest.json b/manifest.json index 34b6316..4271581 100755 --- a/manifest.json +++ b/manifest.json @@ -3,11 +3,11 @@ "id": "qr", "packaging_format": 1, "description": { - "en": "A QR codes generator", - "fr": "Un générateur de codes QR" + "en": "QR codes generator", + "fr": "Générateur de codes QR" }, "version": "1.2.0~ynh2", - "url": "https://code.antopie.org/miraty/libreqr/", + "url": "https://code.antopie.org/miraty/libreqr", "license": "AGPL-3.0-or-later", "maintainer": { "name": "Miraty", @@ -15,12 +15,12 @@ "url": "https://miraty.antopie.org" }, "requirements": { - "yunohost": ">= 3.6" + "yunohost": ">= 4.0" }, "multi_instance": true, "services": [ "nginx", - "php7.0-fpm" + "php7.3-fpm" ], "arguments": { "install" : [ @@ -28,10 +28,10 @@ "name": "domain", "type": "domain", "ask": { - "en": "Choose a domain for LibreQR", - "fr": "Choisissez un domaine pour LibreQR" + "en": "Choose a domain name for LibreQR", + "fr": "Choisissez un nom de domaine pour LibreQR" }, - "example": "michu.home" + "example": "qr.domain.tld" }, { "name": "path", @@ -50,10 +50,6 @@ "en": "Is it a public application?", "fr": "Est-ce une application publique ?" }, - "help": { - "en": "Can LibreQR be used by everyone?", - "fr": "LibreQR peut-elle être utilisée par tout le monde ?" - }, "default": true } ] diff --git a/screenshot.png b/screenshot.png old mode 100644 new mode 100755