2 Commits
1.0.0 ... 1.2.0

Author SHA1 Message Date
b9c5896ee1 add notify script 2021-02-02 14:00:15 +01:00
070bcbd845 add procps for kill 2021-02-02 13:25:25 +01:00
2 changed files with 8 additions and 1 deletions

View File

@ -6,7 +6,7 @@ LABEL HubImageName="wollud1969/httpdispatcher"
RUN \
apt update && \
apt install -y ca-certificates curl && \
apt install -y ca-certificates curl procps && \
sed -i \
-e 's,^#\(LoadModule proxy_module modules/mod_proxy.so\),\1,' \
-e 's,^#\(LoadModule proxy_http_module modules/mod_proxy_http.so\),\1,' \
@ -27,6 +27,7 @@ RUN \
mkdir conf/editable/ssl/certs
COPY httpd-vhosts.conf-template conf/editable/
COPY notify.sh /usr/bin/
VOLUME /usr/local/apache2/conf/editable
VOLUME /usr/local/apache2/logs

6
notify.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
(sleep 5 && /bin/kill -USR1 1) &
exit 0