From 3f643ca0439a5d281e7cae70593e9a5f23ee3f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 24 May 2020 00:32:03 +0200 Subject: [PATCH 1/4] Register SOGo in yunohost service --- scripts/install | 3 +++ scripts/remove | 3 +++ scripts/restore | 3 +++ scripts/upgrade | 3 +++ 4 files changed, 12 insertions(+) diff --git a/scripts/install b/scripts/install index 7f5f311..f1611d1 100755 --- a/scripts/install +++ b/scripts/install @@ -94,6 +94,9 @@ python3 add_sso_conf.py ynh_script_progression --message="Configuring log rotation..." ynh_use_logrotate --logfile /var/log/$app/sogo.log --nonappend +# Register service +yunohost service add $app --log "/var/log/$app/sogo.log" + # Restart services ynh_script_progression --message="Starting sogo services..." --weight=3 systemctl restart sogo diff --git a/scripts/remove b/scripts/remove index d27e4c6..29f151e 100755 --- a/scripts/remove +++ b/scripts/remove @@ -51,6 +51,9 @@ ynh_secure_remove --file="/etc/stunnel/$app.conf" # Remove custom SSO config python3 remove_sso_conf.py +# Remove service +yunohost service remove $app + # Remove the app-specific logrotate config ynh_remove_logrotate diff --git a/scripts/restore b/scripts/restore index e0e6ffe..324d614 100755 --- a/scripts/restore +++ b/scripts/restore @@ -60,6 +60,9 @@ python3 ../settings/scripts/add_sso_conf.py # SETUP LOGROTATE ynh_use_logrotate --logfile /var/log/$app/sogo.log --nonappend +# Register service +yunohost service add $app --log "/var/log/$app/sogo.log" + # Restart services ynh_script_progression --message="Starting SOGo services..." --weight=3 systemctl restart sogo diff --git a/scripts/upgrade b/scripts/upgrade index 557b88a..6dcabe8 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,6 +118,9 @@ python3 add_sso_conf.py ynh_script_progression --message="Configuring log rotation..." ynh_use_logrotate --logfile /var/log/$app/sogo.log --nonappend +# Register service +yunohost service add $app --log "/var/log/$app/sogo.log" + # Restart services ynh_script_progression --message="Starting SOGo services..." --weight=3 systemctl restart sogo From 50ace562ba445a4f38042f08150952274a39080b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 23 Jul 2020 23:46:50 +0200 Subject: [PATCH 2/4] Fix Integration level infos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 036a584..d7e9294 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ SOGo for Yunohost ================= -[![Integration level](https://dash.yunohost.org/integration/sogo.svg)](https://ci-apps.yunohost.org/ci/apps/sogo%20%28Community%29/lastBuild/consoleFull) +[![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) > *This package allow you to install sogo quickly and simply on a YunoHost server. @@ -62,7 +62,7 @@ LDAP and HTTP auth are supported. ### Supported architectures -* x86-64b - [![Build Status](https://ci-apps.yunohost.org/ci/logs/sog%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/sogo/) +* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/sogo%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/sogo/) * ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/sogo%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/sogo/)