mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-11-22 04:16:45 +00:00
Fix tor log file getting removed (#157)
This commit is contained in:
1 parent
88a95fe15e
commit
93e15cbdd0
3 files changed
+11
-3
No files matched your search
@@ -6,6 +6,13 @@ LOG_FILE=${LOG_DIR}/cwa-bd_entrypoint.log
|
||||
# Cleanup any existing files or folders in the log directory
|
||||
rm -rf $LOG_DIR/*
|
||||
|
||||
|
||||
(
|
||||
if [ "$USING_TOR" = "true" ]; then
|
||||
./tor.sh
|
||||
fi
|
||||
)
|
||||
|
||||
exec 3>&1 4>&2
|
||||
exec > >(tee -a $LOG_FILE) 2>&1
|
||||
echo "Starting entrypoint script"
|
||||
|
||||
Reference in new issue
Block a user