Fix httpd folder creation - third try
This commit is contained in:
parent
21be5d107e
commit
01a8022713
2 changed files with 1 additions and 2 deletions
|
@ -58,7 +58,6 @@ items:
|
||||||
rm -rf anitya
|
rm -rf anitya
|
||||||
RUN rm /etc/fedmsg.d/*py
|
RUN rm /etc/fedmsg.d/*py
|
||||||
RUN mkdir -p /etc/pki/fedmsg/
|
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/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
|
RUN ln -sf /etc/pki/fedmsg/crt/fedmsg-release-monitoring.crt /etc/pki/fedmsg/release-monitoring.crt
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
|
@ -139,7 +139,7 @@ items:
|
||||||
format = %(levelname)-5.5s [%(name)s] %(message)s
|
format = %(levelname)-5.5s [%(name)s] %(message)s
|
||||||
datefmt = %H:%M:%S
|
datefmt = %H:%M:%S
|
||||||
start.sh: |-
|
start.sh: |-
|
||||||
mkdir /httpdir/run
|
mkdir -p /httpdir/run
|
||||||
ln -s /etc/httpd/modules /httpdir/modules
|
ln -s /etc/httpd/modules /httpdir/modules
|
||||||
truncate --size=0 /httpdir/accesslog /httpdir/errorlog
|
truncate --size=0 /httpdir/accesslog /httpdir/errorlog
|
||||||
tail -qf /httpdir/accesslog /httpdir/errorlog &
|
tail -qf /httpdir/accesslog /httpdir/errorlog &
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue