Adding service integration step during upgrade

This commit is contained in:
yalh76
2020-06-04 16:52:38 +02:00
parent 4a44539d1d
commit 67437ba64d
2 changed files with 8 additions and 0 deletions

View File

@@ -204,6 +204,13 @@ then
ynh_app_setting_set --app=$app --key=unprotected_uris --value="/"
fi
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================
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"
#=================================================
# START SYSTEMD SERVICE
#=================================================