diff --git a/package/Dockerfile b/package/Dockerfile index b730d652d6..045b6eddaa 100644 --- a/package/Dockerfile +++ b/package/Dockerfile @@ -73,6 +73,7 @@ COPY package/etc/test_parsers /etc/syslog-ng/test_parsers COPY package/etc/local_config /etc/syslog-ng/local_config COPY package/etc/local_config /etc/syslog-ng/local_config COPY package/sbin/entrypoint.sh / +COPY package/sbin/healthcheck.sh / COPY package/sbin/source_ports_validator.py / ENV SC4S_CONTAINER_OPTS=--no-caps diff --git a/package/Dockerfile.lite b/package/Dockerfile.lite index e54ceee047..559d70e80d 100644 --- a/package/Dockerfile.lite +++ b/package/Dockerfile.lite @@ -95,6 +95,7 @@ COPY package/lite/etc/config.yaml /etc/syslog-ng/config.yaml COPY package/lite/etc/addons /etc/syslog-ng/addons COPY package/sbin/entrypoint.sh / +COPY package/sbin/healthcheck.sh / COPY package/sbin/source_ports_validator.py / diff --git a/package/sbin/healthcheck.sh b/package/sbin/healthcheck.sh new file mode 100644 index 0000000000..58266224f6 --- /dev/null +++ b/package/sbin/healthcheck.sh @@ -0,0 +1 @@ +/usr/sbin/syslog-ng-ctl healthcheck --timeout 5 \ No newline at end of file