Browse Source

Fix missing file descriptors when starting Umbrel from the CLI (#269)

dashboard-v0.3.11
Luke Childs 4 years ago
committed by GitHub
parent
commit
a345144610
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .gitignore
  2. 0
      logs/.gitkeep
  3. 7
      scripts/start
  4. 1
      scripts/update/.updateignore

2
.gitignore

@ -21,6 +21,7 @@ db/*
electrs/* electrs/*
events/signals/* events/signals/*
lnd/* lnd/*
logs/*
statuses/* statuses/*
tor/* tor/*
@ -33,5 +34,6 @@ tor/*
!db/.gitkeep !db/.gitkeep
!events/signals/.gitkeep !events/signals/.gitkeep
!lnd/.gitkeep !lnd/.gitkeep
!logs/.gitkeep
!tor/data/.gitkeep !tor/data/.gitkeep
!tor/run/.gitkeep !tor/run/.gitkeep

0
logs/.gitkeep

7
scripts/start

@ -29,6 +29,7 @@ check_dependencies fswatch
check_dependencies rsync jq curl check_dependencies rsync jq curl
UMBREL_ROOT="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))/.." UMBREL_ROOT="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))/.."
UMBREL_LOGS="${UMBREL_ROOT}/logs"
if [[ ! -d "$UMBREL_ROOT" ]]; then if [[ ! -d "$UMBREL_ROOT" ]]; then
echo "Root dir does not exist '$UMBREL_ROOT'" echo "Root dir does not exist '$UMBREL_ROOT'"
@ -70,15 +71,15 @@ cd "$UMBREL_ROOT"
echo "Starting karen..." echo "Starting karen..."
echo echo
./karen & ./karen &>> "${UMBREL_LOGS}/karen.log" &
echo "Starting backup monitor..." echo "Starting backup monitor..."
echo echo
./scripts/backup/monitor & ./scripts/backup/monitor &>> "${UMBREL_LOGS}/backup-monitor.log" &
echo "Starting decoy backup trigger..." echo "Starting decoy backup trigger..."
echo echo
./scripts/backup/decoy-trigger & ./scripts/backup/decoy-trigger &>> "${UMBREL_LOGS}/backup-decoy-trigger.log" &
echo echo
echo "Starting Docker services..." echo "Starting Docker services..."

1
scripts/update/.updateignore

@ -6,3 +6,4 @@ statuses
tor/* tor/*
electrs/* electrs/*
events/signals events/signals
logs

Loading…
Cancel
Save