mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
change gc.log path and link it to stdout
This commit is contained in:
parent
f14e2393a3
commit
12d47893fe
|
@ -36,7 +36,8 @@ RUN chmod u+x /scripts/*
|
|||
RUN mkdir -p /opt/seafile/logs &&\
|
||||
ln -sf /dev/stdout /opt/seafile/logs/seafile.log &&\
|
||||
ln -sf /dev/stdout /opt/seafile/logs/controller.log &&\
|
||||
ln -sf /dev/stdout /opt/seafile/logs/ccnet.log
|
||||
ln -sf /dev/stdout /opt/seafile/logs/ccnet.log &&\
|
||||
ln -sf /dev/stdout /opt/seafile/logs/gc.log
|
||||
|
||||
EXPOSE 8080 8082 8001
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ fi
|
|||
|
||||
(
|
||||
set +e
|
||||
$SEAFILE_DIR/seaf-gc.sh "$@" | tee -a /var/log/gc.log
|
||||
$SEAFILE_DIR/seaf-gc.sh "$@" | tee -a /opt/seafile/logs/gc.log
|
||||
exit "${PIPESTATUS[0]}"
|
||||
) gc_exit_code=$?
|
||||
|
||||
|
|
Loading…
Reference in a new issue