1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cockpit_ynh.git synced 2024-09-03 18:16:26 +02:00
This commit is contained in:
ericgaspar 2020-11-16 19:51:33 +01:00
parent 35712049d0
commit a917676a74
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 4 additions and 9 deletions

View file

@ -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": {

View file

@ -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"

View file

@ -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