Implement migrations from gogs

This commit is contained in:
Josué Tille
2019-02-15 11:33:29 +01:00
parent c9c6a24ad6
commit e36fda963d
37 changed files with 584 additions and 42 deletions

View File

@ -80,7 +80,7 @@ config_nginx
config_gitea
# Install gitea
ynh_setup_source $final_path $architecture
ynh_setup_source $final_path source/$architecture
# Set permissions
set_permission
@ -112,6 +112,9 @@ yunohost service add "$app" --log "/var/log/$app/$app.log"
# Configure logrotate
ynh_use_logrotate "/var/log/$app"
# Save Version
ynh_app_setting_set $app upstream_version $(ynh_app_upstream_version)
# Reload services
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
sleep 1