diff --git a/scripts/install b/scripts/install index c05d617..d447373 100644 --- a/scripts/install +++ b/scripts/install @@ -209,6 +209,12 @@ fi # Give permisiion to the final_path chown -R "$app":"$app" "$final_path" "$datadir" +#================================================= +# RELOAD NGINX +#================================================= + +systemctl reload nginx + #================================================= # SETUP SYSTEMD #================================================= @@ -229,13 +235,6 @@ systemctl start "$app" echo $admin_pass | NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production PATH="/opt/node_n/bin:$PATH" npm run reset-password -- -u root ) - -#================================================= -# RELOAD NGINX -#================================================= - -systemctl reload nginx - #================================================= # SEND A README FOR THE ADMIN #================================================= @@ -244,6 +243,7 @@ message="PeerTube was successfully installed :) Please open 'https://$domain$path_url' +The admin username is: root Here is the admin password: '$admin_pass' If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/peertube_ynh"