Browse Source

Run start script outside of systemd

install-script
Luke Childs 3 years ago
parent
commit
b5b55b73ab
  1. 36
      scripts/install

36
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
}

Loading…
Cancel
Save