mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2025-09-02 10:49:22 +00:00
link scripts to common.log
This commit is contained in:
parent
88e146ab7f
commit
50b8433b2f
1 changed files with 6 additions and 5 deletions
|
@ -35,11 +35,12 @@ COPY scripts /scripts
|
||||||
RUN chmod u+x /scripts/*
|
RUN chmod u+x /scripts/*
|
||||||
|
|
||||||
RUN mkdir -p /opt/seafile/logs &&\
|
RUN mkdir -p /opt/seafile/logs &&\
|
||||||
ln -sf /dev/stdout /opt/seafile/logs/seafile.log &&\
|
touch /opt/seafile/logs/common.log &&\
|
||||||
ln -sf /dev/stdout /opt/seafile/logs/controller.log &&\
|
ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/seafile.log &&\
|
||||||
ln -sf /dev/stdout /opt/seafile/logs/ccnet.log &&\
|
ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/controller.log &&\
|
||||||
ln -sf /dev/stdout /opt/seafile/logs/gc.log &&\
|
ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/ccnet.log &&\
|
||||||
ln -sf /dev/stdout /opt/seafile/logs/seafdav.log
|
ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/gc.log &&\
|
||||||
|
ln -sf /opt/seafile/logs/common.log /opt/seafile/logs/seafdav.log
|
||||||
|
|
||||||
EXPOSE 8080 8082 8001
|
EXPOSE 8080 8082 8001
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue