From 9ef6494d9122500d4b8c299c323e6dd3b36cf926 Mon Sep 17 00:00:00 2001 From: mhfowler Date: Fri, 8 Oct 2021 12:55:36 +0200 Subject: [PATCH] Fix description --- scripts/_common.sh | 2 ++ scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index dff6626..24254a6 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -7,6 +7,8 @@ # dependencies used by the app pkg_dependencies="expect" +description="Secure Scuttlebutt room server implemented in Go" + #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/install b/scripts/install index c930ac7..190556b 100755 --- a/scripts/install +++ b/scripts/install @@ -165,7 +165,7 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --time --weight=1 -yunohost service add $app --description="Secure Scuttlebutt room server implemented in Go" --log="/var/log/$app/$app.log" --needs_exposed_ports $ssbport +yunohost service add $app --description="$description" --log="/var/log/$app/$app.log" --needs_exposed_ports $ssbport #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index 34bd774..00ab4cb 100755 --- a/scripts/restore +++ b/scripts/restore @@ -115,7 +115,7 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app" #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --time --weight=1 -yunohost service add $app --description="Secure Scuttlebutt room server implemented in Go" --log="/var/log/$app/$app.log" +yunohost service add $app --description="$description" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index b3561e2..a8c0013 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -165,7 +165,7 @@ ynh_use_logrotate --non-append #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --time --weight=1 -yunohost service add $app --description="A short description of the app" --log="/var/log/$app/$app.log" +yunohost service add $app --description="$description" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE