mirror of
https://github.com/linuxserver/docker-lychee.git
synced 2026-02-05 19:09:11 +08:00
Update 40-config
This commit is contained in:
parent
ca49e6aa08
commit
7bd1db407e
@ -2,13 +2,13 @@
|
||||
|
||||
# create folders
|
||||
mkdir -p \
|
||||
/config/{data,uploads}
|
||||
/config/lychee/{data,uploads}
|
||||
|
||||
# make symlinks
|
||||
[[ ! -e /var/www/localhost/lychee ]] && \
|
||||
ln -s /usr/share/webapps/lychee /var/www/localhost/lychee
|
||||
ln -s /usr/share/webapps/lychee/data /config/cache/data
|
||||
ln -s /usr/share/webapps/lychee/uploads /config/cache/uploads
|
||||
ln -s /usr/share/webapps/lychee/data /config/lychee/data
|
||||
ln -s /usr/share/webapps/lychee/uploads /config/lychee/uploads
|
||||
|
||||
# permissions
|
||||
chown -R abc:abc \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user