forked from michael.heier/citadel-core
Remove leftovers from karen v1 (#42)
This commit is contained in:
parent
5b2b5a4541
commit
86c17c365e
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user