diff --git a/scripts/install b/scripts/install index fc10798..c97688d 100755 --- a/scripts/install +++ b/scripts/install @@ -130,9 +130,9 @@ ynh_use_logrotate #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --log="/var/log/$app/$app.log" -yunohost service add $app-ui --log="/var/log/$app/$app-ui.log" -yunohost service add $app-pict-rs --log="/var/log/$app/$app-pict-rs.log" +yunohost service add $app --description="Link aggregator/Reddit clone" --log="/var/log/$app/$app.log" +yunohost service add $app-ui --description="Link aggregator/Reddit clone" --log="/var/log/$app/$app-ui.log" +yunohost service add $app-pict-rs --description="Simple image hosting service for Lemmy" --log="/var/log/$app/$app-pict-rs.log" #================================================= # START SYSTEMD SERVICE @@ -142,7 +142,7 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Starting http server at" ynh_systemd_action --service_name=$app-ui --action="start" --log_path="/var/log/$app/$app-ui.log" --line_match="http://0.0.0.0" -ynh_systemd_action --service_name=$app-pict-rs --action="start" --log_path="/var/log/$app/$app-pict-rs.log" #--line_match="http://0.0.0.0" +ynh_systemd_action --service_name=$app-pict-rs --action="start" --log_path="/var/log/$app/$app-pict-rs.log" --line_match="starting in Actix runtime" #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 44ccbca..34e3851 100755 --- a/scripts/restore +++ b/scripts/restore @@ -85,9 +85,9 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app" #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --log="/var/log/$app/$app.log" -yunohost service add $app-ui --log="/var/log/$app/$app-ui.log" -yunohost service add $app-pict-rs --log="/var/log/$app/$app-pict-rs.log" +yunohost service add $app --description="Link aggregator/Reddit clone" --log="/var/log/$app/$app.log" +yunohost service add $app-ui --description="Link aggregator/Reddit clone" --log="/var/log/$app/$app-ui.log" +yunohost service add $app-pict-rs --description="Simple image hosting service for Lemmy" --log="/var/log/$app/$app-pict-rs.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/upgrade b/scripts/upgrade index 50aeed6..6bafbe0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -182,10 +182,10 @@ ynh_use_logrotate --non-append #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 -yunohost service add $app --log="/var/log/$app/$app.log" -yunohost service add $app-ui --log="/var/log/$app/$app-ui.log" -yunohost service add $app-pict-rs --log="/var/log/$app/$app-pict-rs.log" -` +yunohost service add $app --description="Link aggregator/Reddit clone" --log="/var/log/$app/$app.log" +yunohost service add $app-ui --description="Link aggregator/Reddit clone" --log="/var/log/$app/$app-ui.log" +yunohost service add $app-pict-rs --description="Link aggregator/Reddit clone" --log="/var/log/$app/$app-pict-rs.log" + #================================================= # START SYSTEMD SERVICE #=================================================