Browse Source

php7.0 > php7.3

pull/5/head
Miraty 2 years ago
parent
commit
3d96d42f0e
  1. 2
      conf/nginx.conf
  2. 2
      conf/php-fpm.conf
  3. 20
      manifest.json
  4. 0
      screenshot.png

2
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;

2
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)

20
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
}
]

0
screenshot.png

Before

Width:  |  Height:  |  Size: 34 KiB

After

Width:  |  Height:  |  Size: 34 KiB

Loading…
Cancel
Save