From b2fe18b51eff9bf9eefcb3fb6899be3a657b79d2 Mon Sep 17 00:00:00 2001 From: TheSpad Date: Thu, 28 Dec 2023 18:57:07 +0000 Subject: [PATCH] Create subfolder for lychee logs --- root/etc/s6-overlay/s6-rc.d/init-lychee-config/run | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/root/etc/s6-overlay/s6-rc.d/init-lychee-config/run b/root/etc/s6-overlay/s6-rc.d/init-lychee-config/run index a34f236..046d3c7 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-lychee-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-lychee-config/run @@ -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')