mirror of
https://github.com/YunoHost-Apps/cockpit_ynh.git
synced 2024-09-03 18:16:26 +02:00
Fix
This commit is contained in:
parent
35712049d0
commit
a917676a74
3 changed files with 4 additions and 9 deletions
|
@ -3,8 +3,8 @@
|
||||||
"id": "cockpit",
|
"id": "cockpit",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
"en": "Cockpit package for YunoHost.",
|
"en": "Sysadmin login session in a web browser.",
|
||||||
"fr": "Cockpit pour YunoHost."
|
"fr": "Session de connexion sysadmin dans un navigateur Web."
|
||||||
},
|
},
|
||||||
"version": "232~ynh1",
|
"version": "232~ynh1",
|
||||||
"url": "https://cockpit-project.org/",
|
"url": "https://cockpit-project.org/",
|
||||||
|
@ -19,7 +19,6 @@
|
||||||
"multi_instance": false,
|
"multi_instance": false,
|
||||||
"services": [
|
"services": [
|
||||||
"nginx",
|
"nginx",
|
||||||
"php7.0-fpm",
|
|
||||||
"mysql"
|
"mysql"
|
||||||
],
|
],
|
||||||
"arguments": {
|
"arguments": {
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
YNH_PHP_VERSION="7.3"
|
|
||||||
|
|
||||||
# dependencies used by the app
|
# dependencies used by the app
|
||||||
pkg_dependencies="cockpit"
|
pkg_dependencies="cockpit"
|
||||||
|
|
||||||
|
|
|
@ -20,8 +20,6 @@ domain=$(ynh_app_setting_get --app=$app --key=domain)
|
||||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
port=$(ynh_app_setting_get --app=$app --key=port)
|
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||||
|
|
||||||
#final_path=/opt/yunohost/$app
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -32,7 +30,7 @@ upgrade_type=$(ynh_check_app_version_changed)
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Backing up HedgeDoc before upgrading (may take a while)..." --weight=120
|
ynh_script_progression --message="Backing up HedgeDoc before upgrading (may take a while)..." --weight=12
|
||||||
|
|
||||||
# Backup the current version of the app
|
# Backup the current version of the app
|
||||||
ynh_backup_before_upgrade
|
ynh_backup_before_upgrade
|
||||||
|
|
Loading…
Reference in a new issue