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/*
events/signals/*
lnd/*
logs/*
statuses/*
tor/*
@ -33,5 +34,6 @@ tor/*
!db/.gitkeep
!events/signals/.gitkeep
!lnd/.gitkeep
!logs/.gitkeep
!tor/data/.gitkeep
!tor/run/.gitkeep

0
logs/.gitkeep

7
scripts/start

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

1
scripts/update/.updateignore

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

Loading…
Cancel
Save