From 6d7346d9a53e8d0a23b17001bcc7f74f491e5b38 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 14 Nov 2014 16:15:34 +0100 Subject: [PATCH] Changed log dir --- Dockerfile | 4 +++- shoutcast.conf | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e9f24a0..7717604 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,9 @@ FROM ubuntu:14.04 MAINTAINER Knut Ahlers RUN useradd -m shoutcast && \ - mkdir /opt/shoutcast + mkdir /opt/shoutcast && \ + mkdir /var/log/shoutcast && \ + chown shoutcast /var/log/shoutcast WORKDIR /opt/shoutcast diff --git a/shoutcast.conf b/shoutcast.conf index 0461e3b..416315f 100644 --- a/shoutcast.conf +++ b/shoutcast.conf @@ -5,8 +5,8 @@ ; will be stored. make sure that these folders exist else ; sc_serv will throw an error and will close itself down. ; we will make the logs save to the sc_serv2 directory -logfile=/var/log/sc_serv.log -w3clog=/var/log/sc_w3c.log +logfile=/var/log/shoutcast/sc_serv.log +w3clog=/var/log/shoutcast/sc_w3c.log banfile=/etc/shoutcast/sc_serv.ban ripfile=/etc/shoutcast/sc_serv.rip