diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-11-21 21:21:43 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-11-21 21:21:43 +0100 |
commit | 76090eb283086b06aa57375be965a9e03686a08e (patch) | |
tree | 1644029c5352319c369fd6f847f6dd3b5ebd7d65 | |
parent | 1069a0cf6e2784e4f57fa57bf948afe3148f7dac (diff) | |
download | koszko-org-server-76090eb283086b06aa57375be965a9e03686a08e.tar.gz koszko-org-server-76090eb283086b06aa57375be965a9e03686a08e.zip |
append to container logs instead of truncating them
-rwxr-xr-x | guix-container.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guix-container.sh b/guix-container.sh index 65e3a63..2430d8a 100755 --- a/guix-container.sh +++ b/guix-container.sh @@ -86,9 +86,9 @@ start() { mkdir -p "$(dirname "$LOG_DIR")" mkdir --mode=700 -p "$LOG_DIR" - "$EXECUTABLE" $HTTP_DIR_SHARE_OPT \ - > "$LOG_DIR"/stdout.log \ - 2> "$LOG_DIR"/stderr.log & + "$EXECUTABLE" $HTTP_DIR_SHARE_OPT \ + >> "$LOG_DIR"/stdout.log \ + 2>> "$LOG_DIR"/stderr.log & GUILE_PID=$! WAIT_TIME=0 |