summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Gonzalez <roger@rogs.me>2023-01-07 12:42:46 -0300
committerRoger Gonzalez <roger@rogs.me>2023-01-07 12:42:46 -0300
commit66a0ad5f232a601b9df7871c0f107325f4c36ace (patch)
tree110fef2e11e4e0400cbac48f1aad9b6a8f257dfe
parent9acf1af0a240df9e4389351b3d337800ccc592e9 (diff)
Saving the running services to a file
-rwxr-xr-xsetup.sh18
1 files changed, 12 insertions, 6 deletions
diff --git a/setup.sh b/setup.sh
index 2db2765..3cd0751 100755
--- a/setup.sh
+++ b/setup.sh
@@ -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:"