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