diff --git a/scripts/_common.sh b/scripts/_common.sh index 1945d70..29dd265 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -54,7 +54,10 @@ ynh_send_readme_to_admin() { Specific information for the application $app. $app_message --- - # Define binary to use for mail command +Automatic diagnosis data from YunoHost +$(yunohost tools diagnosis | grep -B 100 "services:" | sed "/services:/d')" + + # Define binary to use for mail command if [ -e /usr/bin/bsd-mailx ] then local mail_bin=/usr/bin/bsd-mailx