From b9c5896ee1aaf2571a3c1b0a4109eb2a1b88112f Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 2 Feb 2021 14:00:15 +0100 Subject: [PATCH] add notify script --- Dockerfile | 1 + notify.sh | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100755 notify.sh diff --git a/Dockerfile b/Dockerfile index 635dce1..3265ae6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/notify.sh b/notify.sh new file mode 100755 index 0000000..8124ebc --- /dev/null +++ b/notify.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +(sleep 5 && /bin/kill -USR1 1) & + +exit 0 +