Fix httpd folder creation - second try

This commit is contained in:
Michal Konečný 2018-11-29 12:50:27 +01:00
parent 29fca72793
commit 8682665d01
2 changed files with 2 additions and 1 deletions

View file

@ -58,6 +58,7 @@ items:
rm -rf anitya
RUN rm /etc/fedmsg.d/*py
RUN mkdir -p /etc/pki/fedmsg/
RUN mkdir /httpdir
RUN ln -sf /etc/pki/fedmsg/key/fedmsg-release-monitoring.key /etc/pki/fedmsg/release-monitoring.key
RUN ln -sf /etc/pki/fedmsg/crt/fedmsg-release-monitoring.crt /etc/pki/fedmsg/release-monitoring.crt
EXPOSE 8080

View file

@ -139,7 +139,7 @@ items:
format = %(levelname)-5.5s [%(name)s] %(message)s
datefmt = %H:%M:%S
start.sh: |-
mkdir -p /httpdir/run
mkdir /httpdir/run
ln -s /etc/httpd/modules /httpdir/modules
truncate --size=0 /httpdir/accesslog /httpdir/errorlog
tail -qf /httpdir/accesslog /httpdir/errorlog &