From 771e987374c51f978f6affde25b61c8767b9b1a6 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 29 Jan 2022 13:11:52 -0800 Subject: [PATCH 1/2] installation: script should dump the server address. --- docker/install-scrypted-dependencies-linux.sh | 3 +++ docker/install-scrypted-dependencies-mac.sh | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docker/install-scrypted-dependencies-linux.sh b/docker/install-scrypted-dependencies-linux.sh index 29143d033..0fd7f7bda 100755 --- a/docker/install-scrypted-dependencies-linux.sh +++ b/docker/install-scrypted-dependencies-linux.sh @@ -91,4 +91,7 @@ echo " systemctl stop scrypted.service" echo " systemctl enable scrypted.service" echo " systemctl disable scrypted.service" echo +echo "Scrypted is now running at: https://localhost:10443/" +echo "Note that it is https and that you'll be asked to approve/ignore the website certificate." +echo echo diff --git a/docker/install-scrypted-dependencies-mac.sh b/docker/install-scrypted-dependencies-mac.sh index e5ccc5893..af5c23158 100755 --- a/docker/install-scrypted-dependencies-mac.sh +++ b/docker/install-scrypted-dependencies-mac.sh @@ -92,10 +92,13 @@ echo echo echo echo -echo "Scrypted Service has been installed (and started). You can start, stop, enable, or disable Scrypted with:" +echo "Scrypted Service has been installed. You can start, stop, enable, or disable Scrypted with:" echo " launchctl unload ~/Library/LaunchAgents/com.scrypted.server.plist" echo " launchctl load ~/Library/LaunchAgents/com.scrypted.server.plist" echo " launchctl enable ~/Library/LaunchAgents/com.scrypted.server.plist" echo " launchctl disable ~/Library/LaunchAgents/com.scrypted.server.plist" echo +echo "Scrypted is now running at: https://localhost:10443/" +echo "Note that it is https and that you'll be asked to approve/ignore the website certificate." +echo echo From 76db9bff263796f1b156d00a8c51a75540c4f5d5 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 29 Jan 2022 13:15:57 -0800 Subject: [PATCH 2/2] Update install-scrypted-dependencies-mac.sh --- docker/install-scrypted-dependencies-mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/install-scrypted-dependencies-mac.sh b/docker/install-scrypted-dependencies-mac.sh index af5c23158..d3df2ce5f 100755 --- a/docker/install-scrypted-dependencies-mac.sh +++ b/docker/install-scrypted-dependencies-mac.sh @@ -76,7 +76,7 @@ RUN cat << EOF | tee ~/Library/LaunchAgents/com.scrypted.server.plist EnvironmentVariables PATH - $BREW_PREFIX/bin:$BREW_PREFIX/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin + $(dirname $NPX_PATH):$BREW_PREFIX/bin:$BREW_PREFIX/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin HOME /Users/$USER