diff --git a/scripts/upgrade b/scripts/upgrade index 0e66432..6b24ee3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -205,6 +205,13 @@ ynh_script_progression --message="Securing files and directories..." # Set permissions on app files chown -R "$app":"$app" "$final_path" +#================================================= +# INTEGRATE SERVICE IN YUNOHOST +#================================================= +ynh_script_progression --message="Integrating service in YunoHost..." + +yunohost service add $app --description "$app daemon for Wiki.js" --log_type systemd + #================================================= # SETUP SSOWAT #=================================================