diff --git a/scripts/install b/scripts/install index 345a69f..fb955aa 100755 --- a/scripts/install +++ b/scripts/install @@ -181,9 +181,6 @@ RestartSec=10 WantedBy=multi-user.target" | sudo tee "/etc/systemd/system/umbrel-startup.service" sudo chmod 644 "/etc/systemd/system/umbrel-startup.service" sudo systemctl enable "umbrel-startup.service" - echo "Starting Umbrel, this may take a while..." - sudo systemctl start "umbrel-startup.service" - sudo journalctl --output cat --no-pager --unit "umbrel-startup.service" } main() { @@ -266,32 +263,17 @@ EOF install_systemd_service fi - cat << 'EOF' + # Do the intial start outside of systemd so we get logs + sudo ${UMBREL_INSTALL_PATH}/scripts/start - ,;###GGGGGGGGGGl#Sp - ,##GGGlW""^' '`""%GGGG#S, - ,#GGG" "lGG#o - #GGl^ '$GG# - ,#GGb \GGG, - lGG" "GGG - #GGGlGGGl##p,,p##lGGl##p,,p###ll##GGGG - !GGGlW"""*GGGGGGG#""""WlGGGGG#W""*WGGGGS - "" "^ '" "" - - - @GGS lG# - !GGG !GGG - !GGG !GGG - !GGG !GGG - !GGG !GGG - !GGG !GGG - 'GGG $GGl - "GGG#psqp##GG# - "%GGGGGG#" - -Umbrel has been sucessfully installed! + if [[ "${INSTALL_START_SCRIPT}" = "true" ]] + then + # Kick off the systemd service again so it's in sync + sudo systemctl start "umbrel-startup.service" + fi -EOF + echo + echo "Umbrel has been sucessfully installed!" fi }