Fix httpd folder creation - third try

This commit is contained in:
Michal Konečný 2018-11-29 13:14:01 +01:00
parent 21be5d107e
commit 01a8022713
2 changed files with 1 additions and 2 deletions

View file

@ -58,7 +58,6 @@ 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 /httpdir/run
mkdir -p /httpdir/run
ln -s /etc/httpd/modules /httpdir/modules
truncate --size=0 /httpdir/accesslog /httpdir/errorlog
tail -qf /httpdir/accesslog /httpdir/errorlog &