1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

reorder restore script

This commit is contained in:
yalh76 2019-04-03 02:23:06 +02:00
parent 94ac910326
commit 6aab62c381

View file

@ -131,7 +131,7 @@ systemctl enable "$app.service"
ynh_restore_file "/etc/logrotate.d/$app"
#=================================================
# RESTORE THE LOGROTATE CONFIGURATION
# BUILD YARN DEPENDENCIES
#=================================================
(
@ -150,6 +150,12 @@ chown -R "$app":"$app" "$final_path"
ynh_print_info "Reloading nginx web server and peertube..."
systemctl reload nginx
#=================================================
# START SERVICE
#=================================================
ynh_print_info "Start service..."
systemctl enable "$app"
systemctl start "$app"
# App needs time to start