Changed log dir

This commit is contained in:
Knut Ahlers 2014-11-14 16:15:34 +01:00
parent 743af3adc2
commit 6d7346d9a5
2 changed files with 5 additions and 3 deletions

View File

@ -2,7 +2,9 @@ FROM ubuntu:14.04
MAINTAINER Knut Ahlers <knut@ahlers.me>
RUN useradd -m shoutcast && \
mkdir /opt/shoutcast
mkdir /opt/shoutcast && \
mkdir /var/log/shoutcast && \
chown shoutcast /var/log/shoutcast
WORKDIR /opt/shoutcast

View File

@ -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