mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
Make avatars folder persistent.
This commit is contained in:
parent
569c24cea5
commit
e5865b7f3d
|
@ -29,4 +29,9 @@ if [[ ! -e /opt/seafile/seafile-server-latest ]]; then
|
|||
ln -sf /opt/seafile/seafile-server-$SEAFILE_VERSION /opt/seafile/seafile-server-latest
|
||||
fi
|
||||
|
||||
source_avatars_dir=/opt/seafile/seafile-server-${SEAFILE_VERSION}/seahub/media/avatars
|
||||
rm -rf $source_avatars_dir
|
||||
|
||||
ln -sf /shared/seafile/seahub-data/avatars $source_avatars_dir
|
||||
|
||||
# TODO: create avatars link
|
||||
|
|
Loading…
Reference in a new issue