Skip to content

Commit eba35d8

Browse files
fix: backward compatibility for healthcheck (#2657)
Signed-off-by: Ilya Kheifets <[email protected]>
1 parent 586ba40 commit eba35d8

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

package/Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ COPY package/etc/test_parsers /etc/syslog-ng/test_parsers
7373
COPY package/etc/local_config /etc/syslog-ng/local_config
7474
COPY package/etc/local_config /etc/syslog-ng/local_config
7575
COPY package/sbin/entrypoint.sh /
76+
COPY package/sbin/healthcheck.sh /
7677
COPY package/sbin/source_ports_validator.py /
7778

7879
ENV SC4S_CONTAINER_OPTS=--no-caps

package/Dockerfile.lite

+1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ COPY package/lite/etc/config.yaml /etc/syslog-ng/config.yaml
9595
COPY package/lite/etc/addons /etc/syslog-ng/addons
9696

9797
COPY package/sbin/entrypoint.sh /
98+
COPY package/sbin/healthcheck.sh /
9899
COPY package/sbin/source_ports_validator.py /
99100

100101

package/sbin/healthcheck.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bash
2+
/usr/sbin/syslog-ng-ctl healthcheck --timeout 5

0 commit comments

Comments
 (0)