diff options
-rwxr-xr-x | run.sh | 5 | ||||
-rwxr-xr-x | setup.sh | 14 | ||||
-rwxr-xr-x | yams | 14 |
3 files changed, 23 insertions, 10 deletions
@@ -1,5 +0,0 @@ -#!/usr/bin/env sh - -set -eu - -docker-compose -f $1 up -d @@ -113,6 +113,9 @@ sed -i -e "s/<your_PGID>/$pgid/g" $filename # Set entertainment_folder sed -i -e "s;<entertainment_folder>;$entertainment_folder;g" $filename +# Set yams script +sed -i -e "s/<filename>/$filename" yams.sh + send_success_message "Everything installed correctly! 🎉" read -p "Do you want to run the script now? [Y/n]: " run_now run_now=${run_now:-"y"} @@ -158,11 +161,12 @@ 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: $host_ip:8989/" - echo "Radarr: $host_ip:7878/" - echo "Bazarr: $host_ip:6767/" - echo "Jackett: $host_ip:9117/" - echo "Emby: $host_ip:8096/" + 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/" + echo "You might need to wait for a couple of minutes while everything gets up and running" else echo "========================================================" echo "Since YAMS is not running yet, to run it just execute:" @@ -0,0 +1,14 @@ +#!/bin/bash +set -eu + +if [ $1 == "restart" ]; then + docker-compose -f <filename> stop && docker-compose up -d +fi + +if [ $1 == "stop" ]; then + docker-compose -f <filename> stop +fi + +if [ $1 == "start" ]; then + docker-compose -f <filename> up -d +fi |