mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
link seahub.conf to shared config folder
This commit is contained in:
parent
6a0cdbf95c
commit
e7cca70bb2
|
@ -33,3 +33,10 @@ for d in ${dirs[*]}; do
|
||||||
rm -rf /opt/seafile/$d && ln -sf $src /opt/seafile
|
rm -rf /opt/seafile/$d && ln -sf $src /opt/seafile
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [[ ! -e /shared/seafile/conf/seahub.conf ]]; then
|
||||||
|
mv /opt/seafile/seafile-server-latest/runtime/seahub.conf /shared/seafile/conf/seahub.conf
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -f /opt/seafile/seafile-server-latest/runtime/seahub.conf
|
||||||
|
ln -sf /shared/seafile/conf/seahub.conf /opt/seafile/seafile-server-latest/runtime/seahub.conf
|
Loading…
Reference in a new issue