mirror of
https://github.com/YunoHost-Apps/2FAuth_ynh.git
synced 2024-09-03 20:36:18 +02:00
Upgrade
This commit is contained in:
parent
a81d81933e
commit
08715dffcd
4 changed files with 13 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/Bubka/2FAuth/archive/refs/tags/v3.3.3.tar.gz
|
||||
SOURCE_SUM=d6611ae920922a9064509450c70256e68a6539ecaa0f641569913077abd71a30
|
||||
SOURCE_URL=https://github.com/Bubka/2FAuth/archive/refs/tags/v3.4.0.tar.gz
|
||||
SOURCE_SUM=3262de96b5a1525b6b51dc679d655dd602d0cd523b8901dfbb0e25dd844a069d
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "self-hosted alternative to One Time Passcode",
|
||||
"fr": "Alternative auto-hébergée a One Time Passcode"
|
||||
},
|
||||
"version": "3.3.3~ynh1",
|
||||
"version": "3.4.0~ynh1",
|
||||
"url": "https://github.com/Bubka/2FAuth",
|
||||
"upstream": {
|
||||
"license": "AGPL-3.0",
|
||||
|
@ -25,7 +25,7 @@
|
|||
"multi_instance": true,
|
||||
"services": [
|
||||
"nginx",
|
||||
"php8.0-fpm",
|
||||
"php8.1-fpm",
|
||||
"mysql"
|
||||
],
|
||||
"arguments": {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
YNH_PHP_VERSION="8.0"
|
||||
YNH_PHP_VERSION="8.1"
|
||||
|
||||
# Composer version
|
||||
YNH_COMPOSER_VERSION="2.3.5"
|
||||
|
|
|
@ -92,14 +92,6 @@ chmod 750 "$final_path"
|
|||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring NGINX web server..." --weight=1
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
@ -108,6 +100,14 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=2
|
|||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring NGINX web server..." --weight=1
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# INSTALL 2FAUTH WITH COMPOSER
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue