Create subfolder for lychee logs

This commit is contained in:
TheSpad 2023-12-28 18:57:07 +00:00
parent 498fa265df
commit b2fe18b51e
No known key found for this signature in database
GPG Key ID: 08F06191F4587860

View File

@ -2,7 +2,8 @@
# shellcheck shell=bash
mkdir -p \
/config/{sym,log} \
/config/sym \
/config/log/lychee \
/pictures
# pre-populate /pictures directory if it's empty
@ -25,7 +26,7 @@ fi
if [[ ! -L /app/www/storage/logs ]]; then
rm -rf /app/www/storage/logs
ln -s /config/log /app/www/storage/logs
ln -s /config/log/lychee /app/www/storage/logs
fi
cp -n /defaults/user.ini /config/user.ini 2> >(grep -v 'cp: not replacing')