Remove leftovers from karen v1 (#42)

This commit is contained in:
Aaron Dewes 2022-06-02 03:14:49 +02:00 committed by GitHub
parent 5b2b5a4541
commit 86c17c365e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 8 deletions

3
.gitignore vendored
View File

@ -25,7 +25,6 @@ electrs/*
fulcrumx/* fulcrumx/*
nginx/* nginx/*
redis/* redis/*
events/signals/*
docker-compose.override.yml docker-compose.override.yml
# Commit these empty directories # Commit these empty directories
@ -36,7 +35,6 @@ docker-compose.override.yml
!db/citadel-seed !db/citadel-seed
db/citadel-seed/* db/citadel-seed/*
!db/citadel-seed/.gitkeep !db/citadel-seed/.gitkeep
!events/signals/.gitkeep
!lnd/.gitkeep !lnd/.gitkeep
!logs/.gitkeep !logs/.gitkeep
!tor/data/.gitkeep !tor/data/.gitkeep
@ -46,7 +44,6 @@ db/citadel-seed/*
!nginx/.gitkeep !nginx/.gitkeep
!redis/.gitkeep !redis/.gitkeep
!fulcrumx/.gitkeep !fulcrumx/.gitkeep
!events/signals/.gitkeep
!**/*.license !**/*.license
services/installed.json services/installed.json

View File

@ -120,7 +120,6 @@ services:
volumes: volumes:
- ${PWD}/info.json:/info.json - ${PWD}/info.json:/info.json
- ${PWD}/db:/db - ${PWD}/db:/db
- ${PWD}/events/signals:/signals
- ${PWD}/events:/events - ${PWD}/events:/events
- ${PWD}/apps:/apps - ${PWD}/apps:/apps
- ${PWD}/lnd:/lnd:ro - ${PWD}/lnd:/lnd:ro

View File

@ -39,7 +39,7 @@ main () {
echo "Sleeping for ${delay} seconds..." echo "Sleeping for ${delay} seconds..."
sleep $delay sleep $delay
echo "Triggering decoy backup..." echo "Triggering decoy backup..."
touch "${CITADEL_ROOT}/events/signals/backup" "${CITADEL_ROOT}/scripts/backup/backup"
done done
} }

View File

@ -48,10 +48,10 @@ monitor_file () {
sleep 1 sleep 1
done done
echo "$file_path created! Triggering backup..." echo "$file_path created! Triggering backup..."
touch "${CITADEL_ROOT}/events/signals/backup" "${CITADEL_ROOT}/scripts/backup/backup"
fi fi
fswatch -0 --event Updated $file_path | xargs -0 -n 1 -I {} touch "${CITADEL_ROOT}/events/signals/backup" fswatch -0 --event Updated $file_path | xargs -0 -n 1 -I {} "${CITADEL_ROOT}/scripts/backup/backup"
} }
if [[ ! -d "${CITADEL_ROOT}" ]]; then if [[ ! -d "${CITADEL_ROOT}" ]]; then

View File

@ -5,7 +5,6 @@ lnd/*
statuses statuses
tor/* tor/*
electrs/* electrs/*
events/signals
logs/* logs/*
app-data/* app-data/*
apps/networking.json apps/networking.json