diff --git a/scripts/install b/scripts/install index 97acafc..7b6e465 100644 --- a/scripts/install +++ b/scripts/install @@ -142,6 +142,12 @@ sudo -u $app php ${final_path}/update.php --update-schema sudo systemctl start $app +#================================================= +# ADVERTISE SERVICE IN ADMIN PANEL +#================================================= + +yunohost service add $app + #================================================= # GENERIC FINALIZATION #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 45ff9df..72b3a69 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -131,6 +131,12 @@ chown -R $app $final_path/{cache,feed-icons,lock} ynh_add_systemd_config systemctl restart $app +#================================================= +# ADVERTISE SERVICE IN ADMIN PANEL +#================================================= + +yunohost service add $app + #================================================= # GENERIC FINALIZATION #=================================================