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:
parent
94ac910326
commit
6aab62c381
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue