mirror of
https://github.com/linuxserver/docker-lychee.git
synced 2026-02-05 10:59:42 +08:00
Update 40-config
This commit is contained in:
parent
d5b2c0a5fb
commit
91c0bed4b4
@ -5,12 +5,11 @@
|
||||
ln -s /usr/share/webapps/lychee /var/www/localhost/lychee
|
||||
|
||||
[[ ! -e /config/lychee/data ]]
|
||||
mkdir -p /config/lychee/data && \
|
||||
mkdir -p /config/lychee && \
|
||||
cp -r /usr/share/webapps/lychee/data /config/lychee && \
|
||||
rm -rf /usr/share/webapps/lychee/data
|
||||
|
||||
[[ ! -e /config/lychee/uploads ]]
|
||||
mkdir -p /config/lychee/uploads && \
|
||||
cp -r /usr/share/webapps/lychee/uploads /config/lychee && \
|
||||
rm -rf /usr/share/webapps/lychee/uploads
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user