From 269df6a0c2c4324666e2518136fd4fbfd61513ed Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sun, 31 Dec 2023 22:33:20 +0100 Subject: [PATCH] use new logging config --- Containerfile | 2 -- rootfs/etc/confd/templates/molly.conf.tmpl | 2 +- rootfs/etc/s6-overlay/s6-rc.d/molly-brown/run | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index ab749a6..5bb5bce 100644 --- a/Containerfile +++ b/Containerfile @@ -14,8 +14,6 @@ RUN addgroup molly-brown tty RUN mkdir -p /var/gemini RUN chown molly-brown:molly-brown /var/gemini -RUN ln -sf /dev/stdout /home/molly-brown/access.log - RUN apk --no-cache add \ openssl \ coreutils diff --git a/rootfs/etc/confd/templates/molly.conf.tmpl b/rootfs/etc/confd/templates/molly.conf.tmpl index 34f1cea..32f686f 100644 --- a/rootfs/etc/confd/templates/molly.conf.tmpl +++ b/rootfs/etc/confd/templates/molly.conf.tmpl @@ -9,7 +9,7 @@ HomeDocBase = "users" GeminiExt = "gmi" DefaultLang = "{{ getenv "DEFAULT_LANG" "en" }}" AccessLog = "-" -ErrorLog = "-" +ErrorLog = "" ReadMollyFiles = true # diff --git a/rootfs/etc/s6-overlay/s6-rc.d/molly-brown/run b/rootfs/etc/s6-overlay/s6-rc.d/molly-brown/run index 3282583..2980601 100644 --- a/rootfs/etc/s6-overlay/s6-rc.d/molly-brown/run +++ b/rootfs/etc/s6-overlay/s6-rc.d/molly-brown/run @@ -1,3 +1,3 @@ #!/bin/sh -exec molly-brown -c /etc/molly-brown/molly.conf +exec molly-brown -c /etc/molly-brown/molly.conf -u molly-brown