From eed845f0b210e2b98c1a890c338cfa8d4413dc36 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Sat, 1 Jan 2022 23:11:30 +0100 Subject: [PATCH] Added default confdir and logdir at the solanum builder --- .env.example | 4 ++++ solanum/Dockerfile | 2 ++ solanum/root/entrypoint.sh | 2 -- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index ec1df3a..ea71aa6 100644 --- a/.env.example +++ b/.env.example @@ -5,3 +5,7 @@ LOCAL_STACK_DIR=/srv/docker/volumes/ircd # solanum (optional) SO_CONTAINER_NAME= SO_RESTART= + +# solanum (optional) +AT_CONTAINER_NAME= +AT_RESTART= diff --git a/solanum/Dockerfile b/solanum/Dockerfile index 116e82b..250ce8f 100644 --- a/solanum/Dockerfile +++ b/solanum/Dockerfile @@ -27,6 +27,8 @@ RUN apk add \ mbedtls-dev RUN ./configure \ --prefix=/srv/solanum \ + --sysconfdir=/srv/data/etc \ + --with-logdir=/srv/data/logs \ --enable-mbedtls RUN apk add \ diff --git a/solanum/root/entrypoint.sh b/solanum/root/entrypoint.sh index ff99f04..4f2e022 100755 --- a/solanum/root/entrypoint.sh +++ b/solanum/root/entrypoint.sh @@ -16,6 +16,4 @@ fi su solanum \ -c "/srv/solanum/bin/solanum \ - -configfile /srv/data/etc/ircd.conf \ - -logfile /srv/data/logs/ircd.logs \ -foreground"