From 0e596d43eff14abb2d1c5a1c016c85e3413572e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Tue, 20 Feb 2024 21:28:59 +0100 Subject: [PATCH] Add missing description for yunohost service --- scripts/install | 4 ++-- scripts/restore | 4 ++-- scripts/upgrade | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index 11cee59..ed21b97 100644 --- a/scripts/install +++ b/scripts/install @@ -97,8 +97,8 @@ ynh_add_systemd_config --service seafile --template seafile.service ynh_add_systemd_config --service seahub --template seahub.service # register yunohost service -yunohost service add seafile -yunohost service add seahub +yunohost service add seafile --description 'Main service for seafile server.' +yunohost service add seahub --description 'Seafile server web interface.' # Config nginx ynh_script_progression --message="Configuring nginx..." diff --git a/scripts/restore b/scripts/restore index b88f319..082a938 100644 --- a/scripts/restore +++ b/scripts/restore @@ -54,8 +54,8 @@ systemctl enable seahub --quiet # Add Seafile to YunoHost's monitored services ynh_script_progression --message="Register seafile service..." -yunohost service add seafile -yunohost service add seahub +yunohost service add seafile --description 'Main service for seafile server.' +yunohost service add seahub --description 'Seafile server web interface.' ynh_script_progression --message="Reloading services..." diff --git a/scripts/upgrade b/scripts/upgrade index d8cac23..ae56198 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -179,8 +179,8 @@ ynh_add_fail2ban_config --use_template # register yunohost service ynh_script_progression --message="Register seafile service..." -yunohost service add seafile -yunohost service add seahub +yunohost service add seafile --description 'Main service for seafile server.' +yunohost service add seahub --description 'Seafile server web interface.' # delete seafile cache