mirror of
https://github.com/YunoHost-Apps/sogo_ynh.git
synced 2024-09-03 20:26:07 +02:00
Merge branch 'testing' into master
This commit is contained in:
commit
9b834b352e
2 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@ SOGo for Yunohost
|
|||
=================
|
||||
|
||||
[![Integration level](https://dash.yunohost.org/integration/sogo.svg)](https://dash.yunohost.org/appci/app/sogo) ![](https://ci-apps.yunohost.org/ci/badges/sogo.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/sogo.maintain.svg)
|
||||
[![Install sogo with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=sogo)
|
||||
[![Install sogo with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=sogo)
|
||||
|
||||
> *This package allow you to install sogo quickly and simply on a YunoHost server.
|
||||
If you don't have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.*
|
||||
|
@ -12,7 +12,7 @@ Overview
|
|||
|
||||
SOGo is an opensource groupware solution which has Webmail, a global address book and Calender and Contacts which can be synced via caldav or cardav.
|
||||
|
||||
**Shipped version:** 3.2.6-2
|
||||
**Shipped version:** 4.0.7-1
|
||||
|
||||
Screenshots
|
||||
-----------
|
||||
|
|
|
@ -14,7 +14,7 @@ source /usr/share/yunohost/helpers
|
|||
# Stop script if errors
|
||||
ynh_abort_if_errors
|
||||
|
||||
ynh_script_progression --message="Loading installation settings..."
|
||||
ynh_print_info --message="Loading installation settings..."
|
||||
|
||||
# retrieve useful param
|
||||
domain=$(ynh_app_setting_get --app $app --key domain)
|
||||
|
@ -24,7 +24,7 @@ db_name=$(ynh_app_setting_get --app $app --key db_name)
|
|||
# STANDARD BACKUP STEPS
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Backing up configuration..."
|
||||
ynh_print_info --message="Backing up configuration..."
|
||||
|
||||
# BACKUP THE NGINX CONFIGURATION
|
||||
ynh_backup --src_path "/etc/nginx/conf.d/$domain.d/$app.conf"
|
||||
|
@ -39,11 +39,11 @@ ynh_backup --src_path "/etc/stunnel/$app.conf"
|
|||
ynh_backup --src_path "/etc/cron.d/$app"
|
||||
|
||||
# Backup Logs
|
||||
ynh_script_progression --message="Backing up logs"
|
||||
ynh_print_info --message="Backing up logs"
|
||||
ynh_backup --src_path "/var/log/$app"
|
||||
|
||||
# BACKUP THE MYSQL DATABASE
|
||||
ynh_script_progression --message="Backing up database"
|
||||
ynh_print_info --message="Backing up database"
|
||||
ynh_mysql_dump_db "$db_name" > db.sql
|
||||
|
||||
ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last
|
||||
ynh_print_info --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)."
|
||||
|
|
Loading…
Reference in a new issue