mirror of
https://github.com/YunoHost-Apps/collabora_ynh.git
synced 2024-09-03 18:16:25 +02:00
Merge pull request #36 from ericgaspar/README-badges
Add badges + small typos
This commit is contained in:
commit
72abaf0f20
6 changed files with 18 additions and 24 deletions
|
@ -3,16 +3,15 @@
|
||||||
"id": "collabora",
|
"id": "collabora",
|
||||||
"packaging_format": 1,
|
"packaging_format": 1,
|
||||||
"description": {
|
"description": {
|
||||||
"en": "A LibreOffice-based online office suite with collaborative editing",
|
"en": "LibreOffice-based online office suite with collaborative editing",
|
||||||
"fr": "Une suite office en ligne et collaborative, basée sur LibreOffice"
|
"fr": "Suite office en ligne et collaborative, basée sur LibreOffice"
|
||||||
},
|
},
|
||||||
"version": "4.0.0~ynh1",
|
"version": "4.0.0~ynh1",
|
||||||
"url": "https://www.libreoffice.org/download/libreoffice-online/",
|
"url": "https://collaboraoffice.com",
|
||||||
"license": "MPL-2.0",
|
"license": "MPL-2.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
"name": "rafi59",
|
"name": "rafi59",
|
||||||
"email": "rafi59_dev@srvmaison.fr.nf",
|
"email": "rafi59_dev@srvmaison.fr.nf",
|
||||||
"url": "https://collaboraoffice.com"
|
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 3.5"
|
"yunohost": ">= 3.5"
|
||||||
|
@ -32,8 +31,6 @@
|
||||||
},
|
},
|
||||||
"example": "example.com"
|
"example": "example.com"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "password",
|
"name": "password",
|
||||||
"type": "password",
|
"type": "password",
|
||||||
|
@ -42,7 +39,6 @@
|
||||||
"fr": "Choisissez un mot de passe pour l'administration de Collabora"
|
"fr": "Choisissez un mot de passe pour l'administration de Collabora"
|
||||||
},
|
},
|
||||||
"example": "password"
|
"example": "password"
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "nextcloud_domain",
|
"name": "nextcloud_domain",
|
||||||
|
@ -51,12 +47,9 @@
|
||||||
"en": "The domain of your Nextcloud instance",
|
"en": "The domain of your Nextcloud instance",
|
||||||
"fr": "Le domain de votre instance Nextcloud"
|
"fr": "Le domain de votre instance Nextcloud"
|
||||||
},
|
},
|
||||||
"example": "example.com",
|
"example": "example.com/nextcloud",
|
||||||
"default": ""
|
"default": ""
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,11 +30,13 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD BACKUP STEPS
|
# DECLARE DATA AND CONF FILES TO BACKUP
|
||||||
|
#=================================================
|
||||||
|
ynh_print_info --message="Declaring files to be backed up..."
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP THE NGINX CONFIGURATION
|
# BACKUP THE NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Backing up nginx web server configuration..."
|
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
|
|
||||||
|
@ -43,7 +45,6 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP CONFIGURATION
|
# BACKUP CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Backing up configuration..."
|
|
||||||
|
|
||||||
ynh_backup --src_path="/etc/loolwsd/loolwsd.xml"
|
ynh_backup --src_path="/etc/loolwsd/loolwsd.xml"
|
||||||
|
|
||||||
|
|
|
@ -79,9 +79,9 @@ ynh_install_app_dependencies $pkg_dependencies
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Configuring nginx web server..."
|
ynh_print_info --message="Configuring NGINX web server..."
|
||||||
|
|
||||||
# Create a dedicated nginx config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -126,7 +126,7 @@ ynh_app_setting_set $app unprotected_uris "/"
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Reloading nginx web server..."
|
ynh_print_info --message="Reloading NGINX web server..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
|
|
||||||
|
|
|
@ -36,9 +36,9 @@ ynh_remove_app_dependencies
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE NGINX CONFIGURATION
|
# REMOVE NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Removing nginx web server configuration..."
|
ynh_print_info --message="Removing NGINX web server configuration..."
|
||||||
|
|
||||||
# Remove the dedicated nginx config
|
# Remove the dedicated NGINX config
|
||||||
ynh_remove_nginx_config
|
ynh_remove_nginx_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -84,7 +84,7 @@ ynh_systemd_action --service_name="loolwsd" --action="restart" --log_path="syste
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Reloading nginx web server..."
|
ynh_print_info --message="Reloading NGINX web server..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
|
|
||||||
|
|
|
@ -129,7 +129,7 @@ ynh_systemd_action --service_name="loolwsd" --action="restart" --log_path="syste
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_print_info --message="Reloading nginx web server..."
|
ynh_print_info --message="Reloading NGINX web server..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue