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",
|
||||
"packaging_format": 1,
|
||||
"description": {
|
||||
"en": "A LibreOffice-based online office suite with collaborative editing",
|
||||
"fr": "Une suite office en ligne et collaborative, basée sur LibreOffice"
|
||||
"en": "LibreOffice-based online office suite with collaborative editing",
|
||||
"fr": "Suite office en ligne et collaborative, basée sur LibreOffice"
|
||||
},
|
||||
"version": "4.0.0~ynh1",
|
||||
"url": "https://www.libreoffice.org/download/libreoffice-online/",
|
||||
"url": "https://collaboraoffice.com",
|
||||
"license": "MPL-2.0",
|
||||
"maintainer": {
|
||||
"name": "rafi59",
|
||||
"email": "rafi59_dev@srvmaison.fr.nf",
|
||||
"url": "https://collaboraoffice.com"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 3.5"
|
||||
|
@ -32,9 +31,7 @@
|
|||
},
|
||||
"example": "example.com"
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
{
|
||||
"name": "password",
|
||||
"type": "password",
|
||||
"ask": {
|
||||
|
@ -42,21 +39,17 @@
|
|||
"fr": "Choisissez un mot de passe pour l'administration de Collabora"
|
||||
},
|
||||
"example": "password"
|
||||
|
||||
},
|
||||
{
|
||||
{
|
||||
"name": "nextcloud_domain",
|
||||
"type": "string",
|
||||
"ask": {
|
||||
"en": "The domain of your Nextcloud instance",
|
||||
"fr": "Le domain de votre instance Nextcloud"
|
||||
},
|
||||
"example": "example.com",
|
||||
"example": "example.com/nextcloud",
|
||||
"default": ""
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,11 +30,13 @@ app=$YNH_APP_INSTANCE_NAME
|
|||
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
|
||||
#=================================================
|
||||
ynh_print_info --message="Backing up nginx web server configuration..."
|
||||
|
||||
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
|
||||
#=================================================
|
||||
ynh_print_info --message="Backing up configuration..."
|
||||
|
||||
ynh_backup --src_path="/etc/loolwsd/loolwsd.xml"
|
||||
|
||||
|
|
|
@ -79,9 +79,9 @@ ynh_install_app_dependencies $pkg_dependencies
|
|||
#=================================================
|
||||
# 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
|
||||
|
||||
#=================================================
|
||||
|
@ -126,7 +126,7 @@ ynh_app_setting_set $app unprotected_uris "/"
|
|||
#=================================================
|
||||
# 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
|
||||
|
||||
|
|
|
@ -36,9 +36,9 @@ ynh_remove_app_dependencies
|
|||
#=================================================
|
||||
# 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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -84,7 +84,7 @@ ynh_systemd_action --service_name="loolwsd" --action="restart" --log_path="syste
|
|||
#=================================================
|
||||
# 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
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ ynh_systemd_action --service_name="loolwsd" --action="restart" --log_path="syste
|
|||
#=================================================
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue