diff options
author | Roger Gonzalez <roger@rogs.me> | 2023-01-07 12:42:46 -0300 |
---|---|---|
committer | Roger Gonzalez <roger@rogs.me> | 2023-01-07 12:42:46 -0300 |
commit | 66a0ad5f232a601b9df7871c0f107325f4c36ace (patch) | |
tree | 110fef2e11e4e0400cbac48f1aad9b6a8f257dfe | |
parent | 9acf1af0a240df9e4389351b3d337800ccc592e9 (diff) |
Saving the running services to a file
-rwxr-xr-x | setup.sh | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -42,6 +42,15 @@ check_dependencides() { fi } +running_services_location() { + host_ip=$(hostname -I | awk '{ print $1 }') + echo "Sonarr: http://$host_ip:8989/" + echo "Radarr: http://$host_ip:7878/" + echo "Bazarr: http://$host_ip:6767/" + echo "Jackett: http://$host_ip:9117/" + echo "Emby: http://$host_ip:8096/" +} + # ============================================================================================ # Check all the prerequisites are installed before continuing # ============================================================================================ @@ -161,14 +170,11 @@ send_success_message "All done!✅ Enjoy YAMS!" echo "You can check the installation on $install_location" if [ $run_now == "y" ]; then echo "========================================================" - host_ip=$(hostname -I | awk '{ print $1 }') echo "Everythins should be running now! To check everything running, go to:" - echo "Sonarr: http://$host_ip:8989/" - echo "Radarr: http://$host_ip:7878/" - echo "Bazarr: http://$host_ip:6767/" - echo "Jackett: http://$host_ip:9117/" - echo "Emby: http://$host_ip:8096/" + running_services_location echo "You might need to wait for a couple of minutes while everything gets up and running" + echo "All the services location are also saved in ~/yams_services.txt" + running_services_location > ~/yams_services.txt else echo "========================================================" echo "Since YAMS is not running yet, to run it just execute:" |