From a3294eb5825ee7c119933d6a38a9b6203c507ba0 Mon Sep 17 00:00:00 2001 From: "Josh.5" Date: Sat, 17 Sep 2022 20:40:53 +1200 Subject: [PATCH] Add neko log path --- overlay/etc/cont-init.d/90-configure_neko.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/overlay/etc/cont-init.d/90-configure_neko.sh b/overlay/etc/cont-init.d/90-configure_neko.sh index a1d7d4c..a57a4de 100644 --- a/overlay/etc/cont-init.d/90-configure_neko.sh +++ b/overlay/etc/cont-init.d/90-configure_neko.sh @@ -6,6 +6,11 @@ if ([ "${MODE}" != "s" ] && [ "${MODE}" != "secondary" ]); then if [ ${WEB_UI_MODE} = "neko" ]; then echo "Enable Neko server" sed -i 's|^autostart.*=.*$|autostart=true|' /etc/supervisor.d/neko.ini + + # Make directories for neko + mkdir -p /var/log/neko + chmod 1777 /var/log/neko + chown ${USER} /var/log/neko # Configure nat1to1 if it is not already set if [[ -z ${NEKO_NAT1TO1} ]]; then